Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

broker.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2005, 2006 by KoanLogic s.r.l. <http://www.koanlogic.com>
00003  * All rights reserved.
00004  *
00005  * This file is part of KLone, and as such it is subject to the license stated
00006  * in the LICENSE file which you have received as part of this distribution.
00007  *
00008  * $Id: broker.h,v 1.6 2006/01/09 12:38:37 tat Exp $
00009  */
00010 
00011 #ifndef _KLONE_BROKER_H_
00012 #define _KLONE_BROKER_H_
00013 
00014 #include <klone/request.h>
00015 #include <klone/response.h>
00016 #include <klone/page.h>
00017 
00018 #ifdef __cplusplus
00019 extern "C" {
00020 #endif 
00021 
00022 struct broker_s;
00023 typedef struct broker_s broker_t;
00024 
00025 int broker_create(broker_t **pb);
00026 int broker_free(broker_t* b);
00027 int broker_is_valid_uri(broker_t *b, const char *buf, size_t len);
00028 int broker_serve(broker_t *b, request_t *rq, response_t *rs);
00029 
00030 #ifdef __cplusplus
00031 }
00032 #endif 
00033 
00034 #endif

←Products
© 2005-2006 - KoanLogic S.r.l. - All rights reserved