mirror of https://github.com/sipwise/sems.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
490 B
26 lines
490 B
#ifndef _MSG_STORAGE_API_H
|
|
#define _MSG_STORAGE_API_H
|
|
|
|
#include <stdio.h>
|
|
|
|
#define MSG_OK 0
|
|
#define MSG_EMSGEXISTS 1
|
|
#define MSG_EUSRNOTFOUND 2
|
|
#define MSG_EMSGNOTFOUND 3
|
|
#define MSG_EALREADYCLOSED 4
|
|
#define MSG_EREADERROR 5
|
|
#define MSG_ENOSPC 6
|
|
#define MSG_ESTORAGE 7
|
|
|
|
#include "AmArg.h"
|
|
|
|
class MessageDataFile
|
|
: public ArgObject {
|
|
public:
|
|
FILE* fp;
|
|
MessageDataFile(FILE* fp)
|
|
: fp(fp) { }
|
|
};
|
|
|
|
#endif
|