/usr/include/bglibs/vmailmgr/vpwentry.h is in libbg1-dev 1.106-1.1.
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 | #ifndef VMAILMGR__VPWENTRY__H__
#define VMAILMGR__VPWENTRY__H__
#include "str/str.h"
struct vpwentry
{
str name;
str pass;
str directory;
str forwards;
str personal;
unsigned hardquota;
unsigned softquota;
unsigned msgsize;
unsigned msgcount;
unsigned ctime;
unsigned expiry;
int has_mailbox;
int is_mailbox_enabled;
};
typedef struct vpwentry vpwentry;
int vpwentry_import(vpwentry* vpw, const str* name, const str* data);
int vpwentry_export(const vpwentry* vpw, str* result);
void vpwentry_free(vpwentry* vpw);
#define VPWENTRY_HAS_MAILBOX 10
#define VPWENTRY_MAILBOX_ENABLED 8
#endif
|