1/* 2 plugin.h 3 4 Example gSOAP plug-in. Include this file and link with plugin.c 5 6 Copyright (C) 2000-2002 Robert A. van Engelen. All Rights Reserved. 7*/ 8 9#include "stdsoap2.h" 10 11#define PLUGIN_ID "PLUGIN-1.0" /* plugin identification */ 12 13#ifdef __cplusplus 14extern "C" { 15#endif 16 17struct plugin_data 18{ int (*fsend)(struct soap*, const char*, size_t); /* example: to save and use send callback */ 19 size_t (*frecv)(struct soap*, char*, size_t); /* example: to save and use recv callback */ 20}; 21 22int plugin(struct soap *soap, struct soap_plugin *plugin, void *arg); 23 24#ifdef __cplusplus 25} 26#endif 27 28