/* @(#)41    1.8  src/examples/type_mgr/server_util.h, examples.src, os2dce21.dss, 960602a.1 1/11/96 10:21:56 */
/*
 * 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_util.h                                       *
 *********************************************************************
 *                                                                   *
 *  Functions :  utilities to access the objects in the namespace.
 *                                                                   *
 *  Comments  :  These routimes are called by the server at startup  *
 *               time and by the tm_admin manager.                   *
 *                                                                   *
 *********************************************************************/

extern unsigned32
type_uuid_from_type_name( char *type_name,
              uuid_t  *uuid_p );

extern unsigned32
ns_compose_object_entry_name( char  *object_base_name,
                              char  **object_ns_entry_name_p );

unsigned32
ns_compose_server_entry_name( char  *server_base_name,
                              char  **server_ns_entry_name_p );

extern unsigned32
ns_get_object_uuid( char   *obj_base_name,
                    uuid_t *object_uuid_p );

extern unsigned32
ns_export_object( rpc_binding_vector_t *binding_vector,
                  char                 *object_base_name,
                  uuid_t               *object_uuid_p );

