1 #ifndef _MSG_STORAGE_API_H 2 #define _MSG_STORAGE_API_H 3 4 #include <stdio.h> 5 6 #define MSG_OK 0 7 #define MSG_EMSGEXISTS 1 8 #define MSG_EUSRNOTFOUND 2 9 #define MSG_EMSGNOTFOUND 3 10 #define MSG_EALREADYCLOSED 4 11 #define MSG_EREADERROR 5 12 #define MSG_ENOSPC 6 13 #define MSG_ESTORAGE 7 14 15 #include "AmArg.h" 16 17 class MessageDataFile 18 : public AmObject { 19 public: 20 FILE* fp; MessageDataFile(FILE * fp)21 MessageDataFile(FILE* fp) 22 : fp(fp) { } 23 }; 24 25 #endif 26