<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch gsoc17-migrate
in repository macports-base.

</pre>
<p><a href="https://github.com/macports/macports-base/commit/02e9128b0f0e668fff160a9c31e99531a089ac51">https://github.com/macports/macports-base/commit/02e9128b0f0e668fff160a9c31e99531a089ac51</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 02e9128b0f0e668fff160a9c31e99531a089ac51
</span>Author: Umesh Singla <umeshksingla@macports.org>
AuthorDate: Sun Aug 6 03:19:03 2017 +0530

<span style='display:block; white-space:pre;color:#404040;'>    Add the required data structure for snapshot
</span>---
 src/cregistry/entry.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/cregistry/entry.h b/src/cregistry/entry.h
</span><span style='display:block; white-space:pre;color:#808080;'>index 3559fbf..2187dfb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/cregistry/entry.h
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/cregistry/entry.h
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -47,6 +47,19 @@ typedef struct {
</span>     char* variant_sign;
 } variant;
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+typedef struct {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    char* name;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    int requested;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    char* state;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    variant* variants;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} port;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+typedef struct {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    char* id;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    char* note;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    port* ports;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} reg_snapshot;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> reg_entry* reg_entry_create(reg_registry* reg, char* name, char* version,
         char* revision, char* variants, char* epoch, reg_error* errPtr);
 
</pre><pre style='margin:0'>

</pre>