Skip to content
Permalink
Browse files

Add the required data structure for snapshot

  • Loading branch information
umeshksingla authored and neverpanic committed Aug 5, 2017
1 parent bd88a41 commit f9c762516f349acb7d51712f454860c1a8ec38ad
Showing with 13 additions and 0 deletions.
  1. +13 −0 src/cregistry/entry.h
@@ -47,6 +47,19 @@ typedef struct {
char* variant_sign;
} variant;

typedef struct {
char* name;
int requested;
char* state;
variant* variants;
} port;

typedef struct {
char* id;
char* note;
port* ports;
} reg_snapshot;

reg_entry* reg_entry_create(reg_registry* reg, char* name, char* version,
char* revision, char* variants, char* epoch, reg_error* errPtr);

0 comments on commit f9c7625

Please sign in to comment.
You can’t perform that action at this time.