diff options
-rw-r--r-- | src/pq/pq.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/pq/pq.h b/src/pq/pq.h index 46d749fcc..65b72cedd 100644 --- a/src/pq/pq.h +++ b/src/pq/pq.h | |||
@@ -100,16 +100,20 @@ struct GNUNET_PQ_Context | |||
100 | enum GNUNET_PQ_Options flags; | 100 | enum GNUNET_PQ_Options flags; |
101 | 101 | ||
102 | /** | 102 | /** |
103 | * Mapping between array types and Oid's, filled at reconnect | 103 | * Mapping between array types and Oid's, pre-filled at reconnect. |
104 | * More entries are captured in via GNUNET_PQ_get_oid_by_name. | ||
104 | */ | 105 | */ |
105 | struct | 106 | struct |
106 | { | 107 | { |
107 | /* allocated number of elements array @table */ | 108 | /* Allocated number of elements array the table */ |
108 | unsigned int cap; | 109 | unsigned int cap; |
109 | 110 | ||
110 | /* number of entries in @table */ | 111 | /* Number of entries in the table */ |
111 | unsigned int num; | 112 | unsigned int num; |
112 | 113 | ||
114 | /* The table of (name, oid) pairs. | ||
115 | * Note that the names are 'const char *' and the pointers should be point | ||
116 | * to the same string throughout the lifetime of the program.*/ | ||
113 | struct name2oid | 117 | struct name2oid |
114 | { | 118 | { |
115 | const char *name; | 119 | const char *name; |