mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 14:03:07 +01:00
-C++ struct declaration style.
This commit is contained in:
parent
48351506ea
commit
eaf725d633
@ -24,13 +24,14 @@
|
||||
|
||||
const ULONG BIG_NUMBER = (ULONG) -1;
|
||||
|
||||
typedef struct fil {
|
||||
struct fil {
|
||||
int fil_file;
|
||||
SSHORT fil_length;
|
||||
SCHAR fil_name[1];
|
||||
} *FIL;
|
||||
};
|
||||
typedef fil* FIL;
|
||||
|
||||
typedef struct rbdb {
|
||||
struct rbdb {
|
||||
ULONG rbdb_map_length;
|
||||
int rbdb_map_base;
|
||||
int rbdb_map_count;
|
||||
@ -41,15 +42,17 @@ typedef struct rbdb {
|
||||
SLONG rbdb_last_page;
|
||||
PAG rbdb_buffer1;
|
||||
PAG rbdb_buffer2;
|
||||
struct rbdb *rbdb_next;
|
||||
struct fil rbdb_file;
|
||||
} *RBDB;
|
||||
rbdb *rbdb_next;
|
||||
fil rbdb_file;
|
||||
};
|
||||
typedef rbdb* RBDB;
|
||||
|
||||
typedef struct swc {
|
||||
struct swc {
|
||||
SCHAR swc_switch;
|
||||
SCHAR swc_comma;
|
||||
TEXT *swc_string;
|
||||
} *SWC;
|
||||
};
|
||||
typedef swc* SWC;
|
||||
|
||||
#endif /* UTILITIES_REBUILD_H */
|
||||
|
||||
|
@ -39,11 +39,12 @@ const SSHORT ITEM_purges = 6;
|
||||
const SSHORT ITEM_expunges = 7;
|
||||
const SSHORT ITEM_count = 8;
|
||||
|
||||
typedef struct stats {
|
||||
struct stats {
|
||||
SSHORT stats_count;
|
||||
SSHORT stats_items; /* Number of item per relation */
|
||||
SLONG stats_counts[1];
|
||||
} *STATS;
|
||||
};
|
||||
typedef stats* STATS;
|
||||
|
||||
static STATS expand_stats();
|
||||
static int print_line();
|
||||
|
Loading…
Reference in New Issue
Block a user