Name
Utilities -- Random misc utilities to manipulate OAF_ServerInfo structures.
Details
struct OAF_Property
typedef struct
{
CORBA_char *name;
OAF_PropertyValue v;
}
OAF_Property; |
struct OAF_PropertyValue
typedef struct
{
OAF_PropertyType _d;
union
{
CORBA_char *value_string;
CORBA_double value_number;
CORBA_boolean value_boolean;
GNOME_stringlist value_stringv;
}
_u;
}
OAF_PropertyValue; |
enum OAF_PropertyType
typedef enum
{
OAF_P_STRING,
OAF_P_NUMBER,
OAF_P_BOOLEAN,
OAF_P_STRINGV
}
OAF_PropertyType; |
oaf_server_info_prop_find ()
Tries to find a server with the given property. Returns
NULL if not found.
struct OAFActivationInfo
typedef struct
{
char *iid; /* Implementation ID */
char *user; /* You owe this field to boc */
char *host; /* DNS name or IP address */
char *domain; /* This is not a DNS domain, but an activation domain */
} OAFActivationInfo; |
oaf_actinfo_stringify ()
Serializes actinfo into a char *. Should be freed with g_free().
oaf_servinfo_to_actinfo ()
This function converts a OAF_ServerInfo structure to a
OAFActivationInfo structure. The returned structure should
be freed with oaf_actinfo_free.
oaf_actid_parse ()
Returns a pointer to a newly allocated OAFActivationInfo
structure (to be freed with oaf_actinfo_free) initialized
with the data of actid.
oaf_actinfo_free ()
Frees actinfo.
OAF_ServerInfo_duplicate ()
The return value should befreed with CORBA_free().