00001 /* 00002 * Copyright (c) 2005-2012 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: varprv.h,v 1.8 2006/01/09 12:38:38 tat Exp $ 00009 */ 00010 00011 #ifndef _KLONE_VAR_PRV_H_ 00012 #define _KLONE_VAR_PRV_H_ 00013 00014 #include <u/libu.h> 00015 00016 #ifdef __cplusplus 00017 extern "C" { 00018 #endif 00019 00020 struct var_s 00021 { 00022 TAILQ_ENTRY(var_s) np; /* next & prev pointers */ 00023 u_string_t *sname; /* var string name */ 00024 u_string_t *svalue; /* var string value */ 00025 char *data; 00026 size_t size; 00027 void *opaque; 00028 }; 00029 00030 #ifdef __cplusplus 00031 } 00032 #endif 00033 00034 #endif