Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sec_id_parse_group(3sec) — DCE 3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

sec_id_parse_group(3sec)  —  Subroutines

NAME

sec_id_parse_group — Translates a global name into group and cell names and UUIDs

Synopsis

void sec_id_parse_group(
sec_rgy_handle_t context,
sec_rgy_name_t global_name,
sec_rgy_name_t cell_namep,
uuid_t ∗cell_idp,
sec_rgy_name_t group_namep,
uuid_t ∗group_idp,
error_status_t ∗status);

Parameters

Input

contextAn opaque handle bound to a registry server.  Use sec_rgy_site_open() to acquire a bound handle. 

global_name
The global (full) name of the group in sec_rgy_name_t form. 

Output

cell_namep
The output name of the group’s home cell in sec_rgy_name_t form. 

cell_idpA pointer to the UUID of the home cell of the group whose name is in question. 

group_namep
The local (with respect to the home cell) name of the group in sec_rgy_name_t form. 

group_idpA pointer to the UUID of the group whose name is in question. 

statusA pointer to the completion status.  On successful completion, the function returns error_status_ok.  Otherwise, it returns an error. 

Description

The sec_id_parse_group() routine translates a global group name into a cell name and a cell-relative group name.  It also returns the UUIDs associated with the group and its home cell. 

The routine will not produce translations to any name for which a NULL pointer has been supplied. 

Files

/usr/include/dce/secidmap.idl
The idl file from which dce/secidmap.h was derived. 

Errors

The following describes a partial list of errors that might be returned.  Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages. 

sec_id_e_name_too_long
The name is too long for current implementation.

sec_id_e_bad_cell_uuid
The cell UUID is not valid.

sec_rgy_object_not_found
The registry server could not find the specified group.

sec_rgy_server_unavailable
The DCE registry server is unavailable.

error_status_ok
The call was successful.

Related Information

Functions: sec_id_gen_group(3sec), sec_id_gen_name(3sec), sec_id_parse_group(3sec), sec_id_parse_name(3sec), sec_intro(3sec). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026