Skip to content

Commit

Permalink
exmdb_provider: make INSTANCE_TYPE_* a named enum
Browse files Browse the repository at this point in the history
  • Loading branch information
jengelh committed Nov 22, 2021
1 parent e35bef4 commit 7d5f2ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exch/exmdb_provider/db_engine.h
Expand Up @@ -32,7 +32,7 @@ enum {
TABLE_TYPE_RULE
};

enum {
enum instance_type {
INSTANCE_TYPE_MESSAGE,
INSTANCE_TYPE_ATTACHMENT
};
Expand Down Expand Up @@ -77,7 +77,7 @@ struct INSTANCE_NODE {
uint32_t last_id;
uint32_t cpid;
char *username;
int type;
enum instance_type type;
BOOL b_new;
uint8_t change_mask;
void *pcontent;
Expand Down

0 comments on commit 7d5f2ca

Please sign in to comment.