source: tags/ms_r16q3/ARBDB/ad_cb_prot.h

Last change on this file was 14006, checked in by westram, 9 years ago
  • partial merge from 'alilink' into 'trunk'
    • adds GB_remove_hierarchy_callback
    • adds new flavor of GB_add_hierarchy_callback (allows to install path before it exists)
    • several refactoring in callback code
  • adds:
File size: 1.2 KB
Line 
1/* ARB database callback interface.
2 *
3 * This file is generated by aisc_mkpt.
4 * Any changes you make here will be overwritten later!
5 */
6
7#ifndef AD_CB_PROT_H
8#define AD_CB_PROT_H
9
10/* define ARB attributes: */
11#ifndef ATTRIBUTES_H
12# include <attributes.h>
13#endif
14
15
16/* ad_cb.cxx */
17NOT4PERL bool GB_inside_callback(GBDATA *of_gbd, GB_CB_TYPE cbtype);
18char *GB_get_callback_info(GBDATA *gbd);
19GB_ERROR GB_add_callback(GBDATA *gbd, GB_CB_TYPE type, const DatabaseCallback& dbcb);
20void GB_remove_callback(GBDATA *gbd, GB_CB_TYPE type, const DatabaseCallback& dbcb);
21void GB_remove_all_callbacks_to(GBDATA *gbd, GB_CB_TYPE type, GB_CB func);
22GB_ERROR GB_add_hierarchy_callback(GBDATA *gbd, GB_CB_TYPE type, const DatabaseCallback& dbcb);
23GB_ERROR GB_remove_hierarchy_callback(GBDATA *gbd, GB_CB_TYPE type, const DatabaseCallback& dbcb);
24GB_ERROR GB_add_hierarchy_callback(GBDATA *gb_main, const char *db_path, GB_CB_TYPE type, const DatabaseCallback& dbcb);
25GB_ERROR GB_remove_hierarchy_callback(GBDATA *gb_main, const char *db_path, GB_CB_TYPE type, const DatabaseCallback& dbcb);
26GB_ERROR GB_ensure_callback(GBDATA *gbd, GB_CB_TYPE type, const DatabaseCallback& dbcb);
27
28#else
29#error ad_cb_prot.h included twice
30#endif /* AD_CB_PROT_H */
Note: See TracBrowser for help on using the repository browser.