Top | ![]() |
![]() |
![]() |
![]() |
GalagoContext * | galago_context_new () |
void | galago_context_push () |
void | galago_context_pop () |
GalagoContext * | galago_context_get () |
void | galago_context_set_obj_path_prefix () |
const char * | galago_context_get_obj_path_prefix () |
GalagoService * | galago_context_get_service () |
GList * | galago_context_get_services () |
GalagoPerson * | galago_context_get_person () |
GalagoPerson * | galago_context_get_person_with_session_id () |
GList * | galago_context_get_people () |
GalagoObject * | galago_context_get_object () |
GalagoContext stores per-context data, such as a list of people and services. It basically holds the top-level objects that otherwise don't have a parent. Developers should almost never need this. It's used in galago-daemon.
void
galago_context_push (GalagoContext *context
);
Pushes a context onto the stack.
void
galago_context_set_obj_path_prefix (const char *prefix
);
Sets the base object path prefix for this context.
const char *
galago_context_get_obj_path_prefix (void
);
Returns the base object path prefix for this context.
GalagoService * galago_context_get_service (const char *id
,GalagoOrigin origin
);
Returns the service with the specified ID.
GList *
galago_context_get_services (GalagoOrigin origin
);
Returns a list of all services.
GalagoPerson * galago_context_get_person (const char *id
,GalagoOrigin origin
);
Returns the person with the specified ID.
GalagoPerson * galago_context_get_person_with_session_id (const char *session_id
,GalagoOrigin origin
);
Returns the person with the specified session ID.
GList *
galago_context_get_people (GalagoOrigin origin
);
Returns a list of all people.
GalagoObject *
galago_context_get_object (const char *path
);
Finds an object with the specified path.