Bonobo API Reference Manual
<<< Previous Page | Home | Up | Next Page >>>

# bonobo-object-directory

## Name

bonobo-object-directory --

## Synopsis

    struct      ODServerInfo;
    enum        ODRegistrationResult;
    CORBA_ORB   bonobo_directory_get_orb        (void);
    ODServerInfo* bonobo_directory_new_server_info
                                                (const gchar *iid,
                                                 const gchar *name,
                                                 const gchar *desc);
    const gchar* bonobo_directory_get_server_info_id
                                                (ODServerInfo *info);
    const gchar* bonobo_directory_get_server_info_name
                                                (ODServerInfo *info);
    const gchar* bonobo_directory_get_server_info_description
                                                (ODServerInfo *info);
    void        bonobo_directory_server_info_ref
                                                (ODServerInfo *info);
    void        bonobo_directory_server_info_unref
                                                (ODServerInfo *info);
    GList*      bonobo_directory_get_server_list
                                                (const gchar **required_ids);
    void        bonobo_directory_free_server_list
                                                (GList *list);
    CORBA_Object od_server_activate_with_id     (const gchar *iid,
                                                 gint flags,
                                                 CORBA_Environment *ev);
    ODRegistrationResult bonobo_directory_register_server
                                                (CORBA_Object objref,
                                                 const gchar *iid);
    ODRegistrationResult bonobo_directory_unregister_server
                                                (CORBA_Object objref,
                                                 const gchar *iid);
    CORBA_Object bonobo_directory_get_name_service
                                                (CORBA_Environment *ev);
    char*       bonobo_directory_find_for_file  (const char *fname,
                                                 const char **required_ids,
                                                 char **error);

## Description

## Details

### struct ODServerInfo

    struct ODServerInfo;

### enum ODRegistrationResult

    typedef enum {
            OD_REG_SUCCESS,
            OD_REG_NOT_LISTED,
            OD_REG_ALREADY_ACTIVE,
            OD_REG_ERROR
    } ODRegistrationResult;

### bonobo_directory_get_orb ()

    CORBA_ORB   bonobo_directory_get_orb        (void);

Returns : |

### bonobo_directory_new_server_info ()

    ODServerInfo* bonobo_directory_new_server_info
                                                (const gchar *iid,
                                                 const gchar *name,
                                                 const gchar *desc);

`iid` : |
`name` : |
`desc` : |
Returns : |

### bonobo_directory_get_server_info_id ()

    const gchar* bonobo_directory_get_server_info_id
                                                (ODServerInfo *info);

`info` : |
Returns : |

### bonobo_directory_get_server_info_name ()

    const gchar* bonobo_directory_get_server_info_name
                                                (ODServerInfo *info);

`info` : |
Returns : |

### bonobo_directory_get_server_info_description ()

    const gchar* bonobo_directory_get_server_info_description
                                                (ODServerInfo *info);

`info` : |
Returns : |

### bonobo_directory_server_info_ref ()

    void        bonobo_directory_server_info_ref
                                                (ODServerInfo *info);

`info` : |

### bonobo_directory_server_info_unref ()

    void        bonobo_directory_server_info_unref
                                                (ODServerInfo *info);

`info` : |

### bonobo_directory_get_server_list ()

    GList*      bonobo_directory_get_server_list
                                                (const gchar **required_ids);

`required_ids` : |
Returns : |

### bonobo_directory_free_server_list ()

    void        bonobo_directory_free_server_list
                                                (GList *list);

`list` : |

### od_server_activate_with_id ()

    CORBA_Object od_server_activate_with_id     (const gchar *iid,
                                                 gint flags,
                                                 CORBA_Environment *ev);

`iid` : |
`flags` : |
`ev` : |
Returns : |

### bonobo_directory_register_server ()

    ODRegistrationResult bonobo_directory_register_server
                                                (CORBA_Object objref,
                                                 const gchar *iid);

`objref` : |
`iid` : |
Returns : |

### bonobo_directory_unregister_server ()

    ODRegistrationResult bonobo_directory_unregister_server
                                                (CORBA_Object objref,
                                                 const gchar *iid);

`objref` : |
`iid` : |
Returns : |

### bonobo_directory_get_name_service ()

    CORBA_Object bonobo_directory_get_name_service
                                                (CORBA_Environment *ev);

`ev` : |
Returns : |

### bonobo_directory_find_for_file ()

    char*       bonobo_directory_find_for_file  (const char *fname,
                                                 const char **required_ids,
                                                 char **error);

`fname` : |
`required_ids` : |
`error` : |
Returns : |

<<< Previous Page | Home | Up | Next Page >>>
BonoboWrapper | BonoboSelector