source: branches/stable/ARBDB/ad_cb_prot.h

Last change on this file was 17396, checked in by westram, 6 years ago
File size: 1.1 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 *gb_main, const char *db_path, GB_CB_TYPE type, const DatabaseCallback& dbcb);
23GB_ERROR GB_remove_hierarchy_callback(GBDATA *gb_main, const char *db_path, GB_CB_TYPE type, const DatabaseCallback& dbcb);
24GB_ERROR GB_ensure_callback(GBDATA *gbd, GB_CB_TYPE type, const DatabaseCallback& dbcb);
25void GB_atclose_callback(GBDATA *gbd, const DatabaseCallback& atClose);
26
27#else
28#error ad_cb_prot.h included twice
29#endif /* AD_CB_PROT_H */
Note: See TracBrowser for help on using the repository browser.