Summary: Isode provides a number of APIs which allow integrators and product developers to build components that access the Isode Messaging server products or other products supporting the same protocols.
resubmit.h
Go to the documentation of this file.
1 /* Copyright (c) 2004-2009, Isode Limited, London, England.
2  * All rights reserved.
3  *
4  * Acquisition and use of this software and related materials for any
5  * purpose requires a written licence agreement from Isode Limited,
6  * or a written licence from an organisation licenced by Isode Limited
7  * to grant such a licence.
8  *
9  */
10 
11 #ifndef _SOM_RESUBMIT_H
12 #define _SOM_RESUBMIT_H
13 
14 #include "session.h"
15 
26 #define SOM_FACILITY_RESUBMIT 5
43 typedef void SOMResubmitCallback (struct SOMSession *session,
44  void *ophandle,
45  void *clientdata,
46  int status,
47  const char *opdata,
48  size_t opdatalen);
49 
61 SOMAPI_CDECL int SOMResubmitSetCallback (struct SOMSession *session,
62  SOMResubmitCallback *callback,
63  SOMResubmitCallback **oldvalue);
64 
87 SOMAPI_CDECL int SOMResubmit (struct SOMSession *session,
88  const char *filename,
89  const char *neworig,
90  const char *newrecip,
91  void *ophandle,
92  int async);
93 
94 /* \} */
95 
96 #endif /* _SOM_MTAPI_H */
void SOMResubmitCallback(struct SOMSession *session, void *ophandle, void *clientdata, int status, const char *opdata, size_t opdatalen)
Prototype for callback for resubmit operation completion.
Definition: resubmit.h:43
Switch Operation Management Interface.
Opaque session data.
int SOMResubmit(struct SOMSession *session, const char *filename, const char *neworig, const char *newrecip, void *ophandle, int async)
Set Logfile monitoring.
int SOMResubmitSetCallback(struct SOMSession *session, SOMResubmitCallback *callback, SOMResubmitCallback **oldvalue)
Set the resubmit callback function for this session.