viewer.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_VIEWER_H
12#define _SOM_VIEWER_H
13
14#include "session.h"
15
16/* Check that the X400 library API has been included */
17#ifndef X400_API_H
18# error You must include x400_api.h before including viewer.h
19#endif
20
31#define SOM_FACILITY_VIEWER 4
58typedef void SOMViewerCallback (struct SOMSession *session,
59 void *ophandle,
60 void *clientdata,
61 int status,
62 struct X400Message *x400,
63 const char *opdata,
64 size_t opdatalen);
65
77SOMAPI_CDECL int SOMViewerSetCallback (struct SOMSession *session,
78 SOMViewerCallback *callback,
79 SOMViewerCallback **oldvalue);
80
93SOMAPI_CDECL int SOMViewQueue (struct SOMSession *session,
94 const char *messageid,
95 void *ophandle,
96 int async);
97
113SOMAPI_CDECL int SOMViewArchive (struct SOMSession *session,
114 const char *filename,
115 void *ophandle,
116 int async);
117
118/* \} */
119
120#endif /* _SOM_MTAPI_H */
int SOMViewArchive(struct SOMSession *session, const char *filename, void *ophandle, int async)
Set Logfile monitoring.
int SOMViewerSetCallback(struct SOMSession *session, SOMViewerCallback *callback, SOMViewerCallback **oldvalue)
Set the viewer callback function for this session.
void SOMViewerCallback(struct SOMSession *session, void *ophandle, void *clientdata, int status, struct X400Message *x400, const char *opdata, size_t opdatalen)
Prototype for callback for viewer operation completion.
Definition viewer.h:58
int SOMViewQueue(struct SOMSession *session, const char *messageid, void *ophandle, int async)
Set Logfile monitoring.
Switch Operation Management Interface.
Opaque session data.

All rights reserved © 2002 - 2024 Isode Ltd.