source: branches/nameserver/SL/CB/cb_base.h

Last change on this file was 11033, checked in by westram, 11 years ago
  • added a bunch of callback signature accepted by makeDatabaseCallback
    • allow 1st parameter of type UNFIXED (allows to use same function for DatabaseCallback and Window/RootCallback?)
    • allow to skip 3rd parameter (GB_CB_TYPE)
    • allow callbacks w/o arguments
  • added cb_base.h (allows to use UNFIXED in interfaces)
  • removed cyclic include cbtypes.h ↔ cb.h
File size: 909 bytes
Line 
1// ================================================================ //
2//                                                                  //
3//   File      : cb_base.h                                          //
4//   Purpose   : base types for interfaces                          //
5//                                                                  //
6//   Coded by Ralf Westram (coder@reallysoft.de) in November 2013   //
7//   Institute of Microbiology (Technical University Munich)        //
8//   http://www.arb-home.de/                                        //
9//                                                                  //
10// ================================================================ //
11
12#ifndef CB_BASE_H
13#define CB_BASE_H
14
15typedef struct Unfixed_cb_parameter *UNFIXED; // Unfixed_cb_parameter does not exist (intentionally!)
16
17#else
18#error cb_base.h included twice
19#endif // CB_BASE_H
Note: See TracBrowser for help on using the repository browser.