/usr/include/libvdehist.h is in libvde-dev 2.3.2+r586-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | /*
* libvdehist - A library to manage history and command completion for vde mgmt protocol
* Copyright (C) 2006 Renzo Davoli, University of Bologna
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation version 2.1 of the License, or (at
* your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef _LIBVDEHIST_H
#define _LIBVDEHIST_H
extern char *prompt;
typedef ssize_t (* ssize_fun)();
extern ssize_fun vdehist_vderead;
extern ssize_fun vdehist_vdewrite;
extern ssize_fun vdehist_termread;
extern ssize_fun vdehist_termwrite;
#define HIST_COMMAND 0x0
#define HIST_NOCMD 0x1
#define HIST_PASSWDFLAG 0x80
struct vdehiststat;
extern char *(* vdehist_logincmd)(char *cmd,int len,struct vdehiststat *st);
void vdehist_mgmt_to_term(struct vdehiststat *st);
int vdehist_term_to_mgmt(struct vdehiststat *st);
struct vdehiststat *vdehist_new(int termfd,int mgmtfd);
void vdehist_free(struct vdehiststat *st);
int vdehist_getstatus(struct vdehiststat *st);
void vdehist_setstatus(struct vdehiststat *st,int status);
int vdehist_gettermfd(struct vdehiststat *st);
int vdehist_getmgmtfd(struct vdehiststat *st);
void vdehist_setmgmtfd(struct vdehiststat *st,int mgmtfd);
#endif
|