dpm-ctrl_config.h

Go to the documentation of this file.
00001 /*
00002  * $Id: dpm-ctrl_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) 2008, Juniper Networks, Inc.
00011  * All rights reserved.
00012  */
00013 
00023 #ifndef __DPM_CTRL_CONFIG_H__
00024 #define __DPM_CTRL_CONFIG_H__
00025 
00026 #include <sync/dpm_ipc.h>
00027 
00028 /*** Constants ***/
00029 
00030 
00031 /*** Data structures ***/
00032 
00033 
00034 /*** GLOBAL/EXTERNAL Functions ***/
00035 
00036 
00043 status_t
00044 init_configuration(void);
00045 
00046 
00050 void
00051 clear_configuration(void);
00052 
00053 
00057 void
00058 reset_configuration(uint8_t filter_mode);
00059 
00060 
00064 void
00065 configuration_complete(void);
00066 
00067 
00074 void
00075 configure_policer(policer_info_t * policer);
00076 
00077 
00085 void
00086 configure_managed_interface(int_info_t * interface);
00087 
00088 
00096 void
00097 configure_subscriber(sub_info_t * subscriber);
00098 
00099 
00111 boolean
00112 validate_credentials(char * username, char * password);
00113 
00114 
00123 boolean
00124 user_logged_in(in_addr_t address);
00125 
00126 
00138 status_t
00139 apply_policy(char * username, in_addr_t address);
00140 
00141 
00148 void
00149 remove_policy(in_addr_t address);
00150 
00151 
00152 #endif

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:54 2010 for SDK Your Net Corporation Dynamic Policy Manager Example: dpm-ctrl 1.0 by Doxygen 1.5.1