*/
void *cls;
- /**
+ /**
* Store join/leave events for a PSYC channel in order to be able to answer
* membership test queries later.
*
uint64_t effective_since,
uint64_t group_generation);
- /**
+ /**
* Test if a member was admitted to the channel at the given message ID.
*
* @see GNUNET_PSYCSTORE_membership_test()
const struct GNUNET_CRYPTO_EccPublicSignKey *slave_key,
uint64_t message_id);
- /**
+ /**
* Store a message fragment sent to a channel.
*
* @see GNUNET_PSYCSTORE_fragment_store()
const struct GNUNET_MULTICAST_MessageHeader *message,
uint32_t psycstore_flags);
- /**
+ /**
* Set additional flags for a given message.
*
* They are OR'd with any existing flags set.
uint64_t message_id,
uint64_t psycstore_flags);
- /**
+ /**
* Retrieve a message fragment by fragment ID.
*
* @see GNUNET_PSYCSTORE_fragment_get()
GNUNET_PSYCSTORE_FragmentCallback cb,
void *cb_cls);
- /**
+ /**
* Retrieve all fragments of a message.
*
* @see GNUNET_PSYCSTORE_message_get()
GNUNET_PSYCSTORE_FragmentCallback cb,
void *cb_cls);
- /**
+ /**
* Retrieve a fragment of message specified by its message ID and fragment
* offset.
*
GNUNET_PSYCSTORE_FragmentCallback cb,
void *cb_cls);
- /**
+ /**
* Retrieve the max. values of message counters for a channel.
*
* @see GNUNET_PSYCSTORE_counters_get()
uint64_t *max_message_id,
uint64_t *max_group_generation);
- /**
+ /**
* Retrieve the max. values of state counters for a channel.
*
* @see GNUNET_PSYCSTORE_counters_get()
uint64_t *max_state_message_id);
- /**
+ /**
* Begin modifying current state.
*
* @see GNUNET_PSYCSTORE_state_modify()
const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key,
uint64_t message_id, uint64_t state_delta);
- /**
+ /**
* Set the current value of a state variable.
*
* The state modification process is started with state_modify_begin(),
const char *name, const void *value, size_t value_size);
- /**
+ /**
* End modifying current state.
*
* @see GNUNET_PSYCSTORE_state_modify()
uint64_t message_id);
- /**
+ /**
* Begin synchronizing state.
*
* @see GNUNET_PSYCSTORE_state_sync()
(*state_sync_begin) (void *cls,
const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key);
- /**
+ /**
* Set the value of a state variable while synchronizing state.
*
* The state synchronization process is started with state_sync_begin(),
const char *name, const void *value, size_t value_size);
- /**
+ /**
* End synchronizing state.
*
* @see GNUNET_PSYCSTORE_state_sync()
uint64_t message_id);
- /**
+ /**
* Reset the state of a channel.
*
* Delete all state variables stored for the given channel.
const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key);
- /**
+ /**
* Retrieve a state variable by name (exact match).
*
* @return #GNUNET_OK on success, else #GNUNET_SYSERR
GNUNET_PSYCSTORE_StateCallback cb,
void *cb_cls);
- /**
+ /**
* Retrieve all state variables for a channel with the given prefix.
*
* @see GNUNET_PSYCSTORE_state_get_prefix()
void *cb_cls);
- /**
+ /**
* Retrieve all signed state variables for a channel.
*
* @return #GNUNET_OK on success, else #GNUNET_SYSERR