Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

Resource Management

Communicate with the RMS. More...

Functions

char * macs_path2id (macs_session *sess, const char *meth, const char *path)
 Fetch the rid of a resource by path.

char * macs_id2path (macs_session *sess, const char *meth, const char *id)
 Fetch the path of a resource by rid.


Detailed Description

Communicate with the RMS.

These functions deal with miscellaneous Resource Management activities.


Function Documentation

char* macs_path2id macs_session   sess,
const char *    meth,
const char *    path
 

Fetch the rid of a resource by path.

Parameters:
sess A MACS session
meth The profile method. If NULL, uses a default.
path The path of the resource whose id to fetch.
Returns:
The path's resource id. Should be free()d

char* macs_id2path macs_session   sess,
const char *    meth,
const char *    id
 

Fetch the path of a resource by rid.

Parameters:
sess A MACS session
meth The profile method. If NULL, uses a default.
id The id of the resource whose path to fetch.
Returns:
The resource's path. Should be free()d
Examples:
sample.c.


Generated on Fri Aug 8 09:53:44 2003 for MACS Client C API by doxygen1.3-rc3