mirror of
https://github.com/lxsang/ant-http
synced 2024-11-14 15:58:22 +01:00
18 lines
375 B
C
18 lines
375 B
C
|
#ifndef PLUGIN_CTX_H
|
||
|
#define PLUGIN_CTX_H
|
||
|
#include "handle.h"
|
||
|
struct _plugin_ctx_t
|
||
|
{
|
||
|
char * name;
|
||
|
const char * tmpdir;
|
||
|
const char * basedir;
|
||
|
char * confdir;
|
||
|
int raw_body;
|
||
|
int status;
|
||
|
dictionary_t config;
|
||
|
void * data;
|
||
|
void *(*handle)(void *);
|
||
|
void *(*create)(struct _plugin_ctx_t *);
|
||
|
void (*drop)(struct _plugin_ctx_t *);
|
||
|
} ;
|
||
|
#endif
|