Skip to content

Commit

Permalink
Added an initializer for DocInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
dustin committed Mar 1, 2012
1 parent 120d3d2 commit cdfb20f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/libcouchstore/couch_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ typedef struct _docinfo {
uint64_t bp;
size_t size;
} DocInfo;

#define DOC_INFO_INITIALIZER { {0, 0}, 0, 0, {0, 0}, 0, 0, 0, 0 }

//Content Meta Flags
#define COUCH_DOC_IS_COMPRESSED 128
//Content Type Reasons (content_meta & 0x0F)
Expand Down

0 comments on commit cdfb20f

Please sign in to comment.