/usr/include/bglibs/vmailmgr/client.h is in libbg1-dev 1.106-3.
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 | #ifndef VMAILMGR__CLIENT__H__
#define VMAILMGR__CLIENT__H__
#include "str/str.h"
#define VCLIENT_MAXLEN 65535
struct vclient_req
{
unsigned args;
str data;
};
typedef struct vclient_req vclient_req;
struct vclient_resp
{
unsigned code;
str message;
};
typedef struct vclient_resp vclient_resp;
int vclient_req_init(vclient_req* vr, const str* cmd);
int vclient_req_arg(vclient_req* vr, const str* arg);
int vclient_req_write(const vclient_req* vr, int fd);
int vclient_resp_read(vclient_resp* vr, int fd);
#endif
|