/* @(#)91    1.7  src/examples/type_mgr/tm_admin.h, examples.src, os2dce21.dss, 960602a.1  6/10/94  18:47:21 */
/*
 * 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      :  tm_admin.h                                          *
 *********************************************************************
 *                                                                   *
 *  Functions :                                                      *
 *                                                                   *
 *  Comments  :  Information particular to the management            *
 *               application.                                        *
 *                                                                   *
 *********************************************************************/

/*
 *  External definitions of global variables defined in the tm_admin
 *  program.  This file is included in all files where the global
 *  variables are accessed.
 */

extern char           g_object_ns_directory_path[];
extern char           g_server_ns_directory_path[];
extern char           g_object_ns_entry[];
extern char           g_server_ns_entry[];
extern char           g_type_entry[];
extern unsigned32     g_operation;

/*
 * operation definitions
 */
#define     ADD_OBJECT_MODE  1
#define     DEL_OBJECT_MODE  2
#define     STOP_SERVER_MODE 3
#define     LIST_OBJECT_MODE 4
#define     LIST_SERVER_MODE 5

/*
 * definition of the error codes from RPC calls to the administrative
 * interface.
 */

#define E_ADM_MSG_MAX 12

#define E_ADM_FNDNM      1
#define E_ADM_FNDMEM     2
#define E_ADM_BADMEM     3
#define E_ADM_FNDDB      4
#define E_ADM_BADDB      5
#define E_ADM_F_ADDDB    6
#define E_ADM_F_ADDMEM   7
#define E_ADM_F_EXPUUID  8
#define E_ADM_F_RMVDB    9
#define E_ADM_F_RMVMEM  10
#define E_ADM_F_GETUUID 11
#define E_ADM_BAD_TYPE  12

/* EOF tm_admin.h */

