/* @(#)87    1.17  src/examples/type_mgr/server.h, examples.src, os2dce21.dss, 960602a.1  6/10/94  18:37:57 */
/*
 * COMPONENT_NAME:  examples.src
 *
 * FUNCTIONS:
 *
 * ORIGINS: 27
 *
 * (C) COPYRIGHT International Business Machines Corp. 1992, 1994
 * All Rights Reserved
 * Licensed Materials - Property of IBM
 *
 * US Government Users Restricted Rights - Use, duplication or
 * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
 *
 */

/*********************************************************************
 *  File      :  server.h                                            *
 *********************************************************************
 *                                                                   *
 *  Functions :                                                      *
 *                                                                   *
 *  Comments  :  Information particular to the server application.   *
 *                                                                   *
 *********************************************************************/

/*
 *  Global variables used in conjunction with the command line arguments
 *  to the server.  These are defined in the server_args.c file.
 */

extern char	g_server_ns_entry[];

/*
 *  Global object uuid representing the server instance.  Used to uniquely
 *  identify the server in the cell.  Defined in server_setup_admin.c.
 */

extern uuid_t g_server_object_uuid;

/*
 *  Global type_table declarations and data structures.
 */

typedef struct {
    char  *name;
    char  *string_uuid;
    uuid_t uuid;
} type_table_t;

extern type_table_t  g_type_table[];

/*
 *  Function prototypes from the setup modules (no separate include files).
 */

extern unsigned32 
server_args( unsigned32 argc,
	     char *argv[] );

extern unsigned32 
server_setup( void );

extern unsigned32 
server_setup_admin( void );

/* 
 *  Global variable declarations  associated with the type manager routines.
 *  For each type manager there should be:
 *
 *    type name
 *    uuid string
 *    mangager entry point vector
 */

extern char	g_type1_name[];
extern char	g_type1_uuid_str[];
extern type_mgr_v1_0_epv_t  type1_v1_0_manager_epv;

extern char	g_type2_name[];
extern char	g_type2_uuid_str[];
extern type_mgr_v1_0_epv_t  type2_v1_0_manager_epv;

/* EOF server.h */

