aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_psyc_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_psyc_lib.h')
-rw-r--r--src/include/gnunet_psyc_lib.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/include/gnunet_psyc_lib.h b/src/include/gnunet_psyc_lib.h
index bd8cbf025..50f346048 100644
--- a/src/include/gnunet_psyc_lib.h
+++ b/src/include/gnunet_psyc_lib.h
@@ -78,6 +78,32 @@ enum GNUNET_PSYC_Type
78}; 78};
79 79
80 80
81/**
82 * PSYC state modifier.
83 */
84struct GNUNET_PSYC_Modifier {
85 /**
86 * State operation.
87 */
88 GNUNET_PSYC_Operator oper;
89
90 /**
91 * Variable name.
92 */
93 const char *name;
94
95 /**
96 * Size of @a value.
97 */
98 size_t value_size;
99
100 /**
101 * Value of variable.
102 */
103 const void *value;
104};
105
106
81/** 107/**
82 * Get the type of variable. 108 * Get the type of variable.
83 * 109 *