diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-04-14 15:23:44 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-04-14 15:23:44 +0200 |
commit | 494af3383d2a5d3402e1f03209cb574af86079a8 (patch) | |
tree | 6b457d61846e2f18c3f1b4ace0e3e58480e3e15c /src/reclaim/gnunet-service-reclaim_tickets.h | |
parent | a277e037fefe605c93d81869ac514f87cad25768 (diff) | |
download | gnunet-494af3383d2a5d3402e1f03209cb574af86079a8.tar.gz gnunet-494af3383d2a5d3402e1f03209cb574af86079a8.zip |
RECLAIM: bugfixes; add delete attribute API
Diffstat (limited to 'src/reclaim/gnunet-service-reclaim_tickets.h')
-rw-r--r-- | src/reclaim/gnunet-service-reclaim_tickets.h | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/src/reclaim/gnunet-service-reclaim_tickets.h b/src/reclaim/gnunet-service-reclaim_tickets.h index d2b614c46..6e704243d 100644 --- a/src/reclaim/gnunet-service-reclaim_tickets.h +++ b/src/reclaim/gnunet-service-reclaim_tickets.h | |||
@@ -38,7 +38,7 @@ | |||
38 | #include "gnunet_namestore_service.h" | 38 | #include "gnunet_namestore_service.h" |
39 | #include "gnunet_protocols.h" | 39 | #include "gnunet_protocols.h" |
40 | #include "gnunet_reclaim_attribute_lib.h" | 40 | #include "gnunet_reclaim_attribute_lib.h" |
41 | #include "gnunet_reclaim_plugin.h" | 41 | #include "gnunet_reclaim_service.h" |
42 | #include "gnunet_signatures.h" | 42 | #include "gnunet_signatures.h" |
43 | #include "gnunet_statistics_service.h" | 43 | #include "gnunet_statistics_service.h" |
44 | #include "reclaim.h" | 44 | #include "reclaim.h" |
@@ -47,6 +47,41 @@ struct RECLAIM_TICKETS_Iterator; | |||
47 | struct RECLAIM_TICKETS_ConsumeHandle; | 47 | struct RECLAIM_TICKETS_ConsumeHandle; |
48 | struct RECLAIM_TICKETS_RevokeHandle; | 48 | struct RECLAIM_TICKETS_RevokeHandle; |
49 | 49 | ||
50 | |||
51 | struct TicketRecordsEntry | ||
52 | { | ||
53 | /** | ||
54 | * DLL | ||
55 | */ | ||
56 | struct TicketRecordsEntry *next; | ||
57 | |||
58 | /** | ||
59 | * DLL | ||
60 | */ | ||
61 | struct TicketRecordsEntry *prev; | ||
62 | |||
63 | /** | ||
64 | * Record count | ||
65 | */ | ||
66 | unsigned int rd_count; | ||
67 | |||
68 | /** | ||
69 | * Data | ||
70 | */ | ||
71 | char *data; | ||
72 | |||
73 | /** | ||
74 | * Data size | ||
75 | */ | ||
76 | size_t data_size; | ||
77 | |||
78 | /** | ||
79 | * Label | ||
80 | */ | ||
81 | char *label; | ||
82 | }; | ||
83 | |||
84 | |||
50 | /** | 85 | /** |
51 | * Continuation called with ticket. | 86 | * Continuation called with ticket. |
52 | * | 87 | * |