00001 /* 00002 * $Id: helloworldd_config.h 346460 2009-11-14 05:06:47Z ssiano $ 00003 * 00004 * This code is provided as is by Juniper Networks SDK Developer Support. 00005 * It is provided with no warranties or guarantees, and Juniper Networks 00006 * will not provide support or maintenance of this code in any fashion. 00007 * The code is provided only to help a developer better understand how 00008 * the SDK can be used. 00009 * 00010 * Copyright (c) 2007-2008, Juniper Networks, Inc. 00011 * All rights reserved. 00012 */ 00013 00022 #ifndef __HELLOWORLDD_CONFIG_H__ 00023 #define __HELLOWORLDD_CONFIG_H__ 00024 00025 #include <jnx/patricia.h> 00026 00027 #define MESSAGE_STR_SIZE 128 00028 00029 00033 typedef struct helloworld_data_s { 00034 patnode node; 00035 char message[MESSAGE_STR_SIZE]; 00036 } helloworld_data_t; 00037 00038 00043 void init_messages_ds(void); 00044 00045 00051 helloworld_data_t * first_message(void); 00052 00053 00063 helloworld_data_t * next_message(helloworld_data_t * data); 00064 00065 00076 int helloworld_config_read(int check); 00077 00078 #endif 00079