source: tags/svn.1.5.4/ARBDB/gb_cb.h

Last change on this file was 6325, checked in by westram, 16 years ago
  • ARBDB
    • hide internal structures (GBDATA etc.) inside ARBDB. Fixed all layer violations
    • splitted up big header files into many. Did not reduce much internal dependencies, but at least there's some kind of semantic separation now.
    • moved many decls right into the .cxx file (if only used in one)
    • removed several duplicated type-names like
      typedef struct gb_main_type {
      ...
      } GB_MAIN_TYPE;
      
    • GB_HASHI → GB_NUMHASH + functions renamed
    • gb_assert no longer globally visible. replaced
    • fixed includes
    • local (ARBDB internal) headers all start with prefix 'gb_'
File size: 1012 bytes
Line 
1// =============================================================== //
2//                                                                 //
3//   File      : gb_cb.h                                           //
4//   Purpose   : gb_callback_list                                   //
5//                                                                 //
6//   Institute of Microbiology (Technical University Munich)       //
7//   http://www.arb-home.de/                                       //
8//                                                                 //
9// =============================================================== //
10
11#ifndef GB_CB_H
12#define GB_CB_H
13
14#ifndef ARBDB_H
15#include <arbdb.h>
16#endif
17
18struct gb_transaction_save;
19
20
21struct gb_callback_list {
22    gb_callback_list    *next;
23    GB_CB                func;
24    gb_transaction_save *old;
25    GB_CB_TYPE           type;
26    GBDATA              *gbd;
27    int                 *clientdata;
28};
29
30#else
31#error gb_cb.h included twice
32#endif // GB_CB_H
Note: See TracBrowser for help on using the repository browser.