00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00029
00030 #ifndef _SML_NOTIFICATION_INTERNALS_H_
00031 #define _SML_NOTIFICATION_INTERNALS_H_
00032
00033 struct SmlNotification {
00034 SmlNotificationVersion version;
00035 SmlNotificationUIMode mode;
00036 SmlNotificationInitiator init;
00037 unsigned int sessionID;
00038 char *identifier;
00039 SmlLocation *target;
00040 GList *alerts;
00041 SmlMimeType type;
00042 SmlCred *cred;
00043 SmlSessionType sessionType;
00044 SmlManager *manager;
00045
00046 unsigned int localMaxMsgSize;
00047 unsigned int localMaxObjSize;
00048 };
00049
00050 struct SmlSanAlert {
00051 SmlAlertType type;
00052 char *contenttype;
00053 char *serverURI;
00054 };
00055
00056 SmlBool smlNotificationAssemble11(
00057 SmlNotification *san,
00058 char **data,
00059 unsigned int *size,
00060 SmlProtocolVersion version,
00061 SmlError **error);
00062
00063 #endif //_SML_NOTIFICATION_INTERNALS_H_
00064