view src/auth/auth-worker-server.h @ 7388:08d31d752893 HEAD

Use auth-stream API to build all TAB-delimited strings to make sure strings are escaped properly where necessary.
author Timo Sirainen <tss@iki.fi>
date Sun, 09 Mar 2008 12:37:26 +0200
parents e4eb71ae8e96
children
line wrap: on
line source

#ifndef AUTH_WORKER_SERVER_H
#define AUTH_WORKER_SERVER_H

struct auth_request;
struct auth_stream_reply;

typedef void auth_worker_callback_t(struct auth_request *request,
				    const char *reply);

void auth_worker_call(struct auth_request *auth_request,
		      struct auth_stream_reply *data,
		      auth_worker_callback_t *callback);

void auth_worker_server_init(void);
void auth_worker_server_deinit(void);

#endif