/usr/include/pi-versamail.h is in libpisock-dev 0.12.5-dfsg-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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | /*
* $Id: pi-versamail.h,v 1.7 2006/10/17 13:24:07 desrod Exp $
*
* pi-versamail.h: Palm VersaMail application support (replaced Palm Mail
* application)
*
* Copyright (c) 2005, Florent Pillet.
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Library General Public License as published by
* the Free Software Foundation; either version 2 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 Library
* General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; if not, write to the Free Software Foundation,
* * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _PILOT_VERSAMAIL_H_
#define _PILOT_VERSAMAIL_H_
#include <time.h>
#include "pi-args.h"
#include "pi-appinfo.h"
#ifdef __cplusplus
extern "C" {
#endif
struct VersaMail {
unsigned long imapuid;
struct tm date;
unsigned int category;
unsigned int accountNo;
unsigned int unknown1;
unsigned int download;
unsigned int mark;
unsigned int unknown2;
unsigned int reserved1;
unsigned int reserved2;
unsigned int read;
unsigned int msgSize;
unsigned int attachmentCount;
char *messageUID;
char *to;
char *from;
char *cc;
char *bcc;
char *subject;
char *dateString;
char *body;
char *replyTo;
void *unknown3;
unsigned int unknown3length;
};
struct VersaMailAppInfo {
struct CategoryAppInfo category;
};
extern int unpack_VersaMail
PI_ARGS((struct VersaMail *, char *record, size_t len));
extern int pack_VersaMail
PI_ARGS((struct VersaMail *a, char *buffer, size_t len));
extern void free_VersaMail PI_ARGS((struct VersaMail *));
extern void free_VersaMailAppInfo PI_ARGS((struct VersaMailAppInfo *));
extern int unpack_VersaMailAppInfo PI_ARGS((struct VersaMailAppInfo *,
unsigned char *AppInfo, size_t len));
#ifdef __cplusplus
}
#endif
#endif /* _PILOT_VERSAMAIL_H_ */
|