hellopics-mgmt_conn.h

Go to the documentation of this file.
00001 /*
00002  * $Id: hellopics-mgmt_conn.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 
00021 #ifndef __HELLOPICS_MGMT_CONN_H__
00022 #define __HELLOPICS_MGMT_CONN_H__
00023 
00024 #include <sys/types.h>
00025 #include <isc/eventlib.h>
00026 #include <jnx/aux_types.h>
00027 
00028 /*** Constants ***/
00029 
00030 
00031 /*** Data structures ***/
00032 
00036 typedef struct hellopics_stats_s {
00037     uint32_t msgs_sent;     
00038     uint32_t msgs_received; 
00039     uint32_t msgs_missed;   
00040     uint32_t msgs_badorder; 
00041 } hellopics_stats_t;
00042 
00043 
00044 
00045 /*** GLOBAL/EXTERNAL Functions ***/
00046 
00047 
00051 void init_connection_stats(void);
00052 
00053 
00063 status_t init_server(evContext ctx);
00064 
00065 
00069 void close_connections(void);
00070 status_t
00071 start_server(evContext ctx);
00072 #endif
00073 

2007-2009 Juniper Networks, Inc. All rights reserved. The information contained herein is confidential information of Juniper Networks, Inc., and may not be used, disclosed, distributed, modified, or copied without the prior written consent of Juniper Networks, Inc. in an express license. This information is subject to change by Juniper Networks, Inc. Juniper Networks, the Juniper Networks logo, and JUNOS are registered trademarks of Juniper Networks, Inc. in the United States and other countries. All other trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.
Generated on Sun May 30 20:26:58 2010 for SDK Your Net Corporation Hellopics Example: hellopics-mgmt 1.0 by Doxygen 1.5.1