blob: e56dcdc23173de51448247a5c90971d66793755b [file] [log] [blame]
/* plugin.h
Example gSOAP plug-in
Copyright (C) 2000-2002 Robert A. van Engelen. All Rights Reserved.
*/
#include "stdsoap2.h"
#define PLUGIN_ID "PLUGIN-1.0" /* plugin identification */
struct plugin_data
{ int (*fsend)(struct soap*, const char*, size_t); /* example: to save and use send callback */
size_t (*frecv)(struct soap*, char*, size_t); /* example: to save and use recv callback */
};
int plugin(struct soap *soap, struct soap_plugin *plugin, void *arg);