psd_main.c File Reference

Contains main entry point. More...

#include <sync/common.h>
#include "psd_config.h"
#include "psd_server.h"

Go to the source code of this file.

Defines

#define DNAME_PSD   "psd"

Functions

static int psd_init (evContext ctx)
int main (int argc, char **argv)

Variables

const parse_menu_t master_menu []


Detailed Description

Contains main entry point.

Contains the main entry point and registers the application as a JunOS daemon

Definition in file psd_main.c.


Define Documentation

#define DNAME_PSD   "psd"

Constant string for the daemon name

Definition at line 245 of file psd_main.c.

Referenced by main().


Function Documentation

int main ( int  argc,
char **  argv 
)

Intializes psd's environment

Parameters:
[in] argc Number of command line arguments
[in] argv String array of command line arguments
Returns:
0 upon successful exit of the application or non-zero upon failure

Definition at line 287 of file psd_main.c.

References DNAME_PSD, psd_config_read(), and psd_init().

static int psd_init ( evContext  ctx  )  [static]

Callback for the first initialization of the RE-SDK Application

Parameters:
[in] ctx Newly created event context
Returns:
SUCCESS

Definition at line 266 of file psd_main.c.

References init_config(), and server_init().

Referenced by main().


Variable Documentation

const parse_menu_t master_menu[]

CMD Mode menu tree of commands: (This is defined at the end of ped_ui.c)


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:27:07 2010 for SDK Your Net Corporation Policy Manager Example: Policy Server Daemon 1.0 by Doxygen 1.5.1