X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Finclude%2Fgnunet_signatures.h;h=580282d824afc8bfb2c871c1e86e2b0342db7d8a;hb=a6fb0db57f2a70a05bdb6ef7ccf69a044268dee6;hp=adb00c1acad3d95771033e28641bf790a22962cb;hpb=0a217a8df1657b4334b55b0e4a6c7837a8dbcfd9;p=oweals%2Fgnunet.git diff --git a/src/include/gnunet_signatures.h b/src/include/gnunet_signatures.h index adb00c1ac..580282d82 100644 --- a/src/include/gnunet_signatures.h +++ b/src/include/gnunet_signatures.h @@ -43,27 +43,77 @@ extern "C" #define GNUNET_SIGNATURE_PURPOSE_TEST 0 /** - * Signature for confirming HELLOs. + * Signature for confirming that this peer uses a particular address. */ -#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_HELLO 1 +#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_PONG_OWN 1 +/** + * Signature for confirming that this peer intends to disconnect. + */ +#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DISCONNECT 2 /** * Purpose is to set a session key. */ -#define GNUNET_SIGNATURE_PURPOSE_SET_KEY 2 +#define GNUNET_SIGNATURE_PURPOSE_SET_KEY 3 /** * Signature for a namespace/pseudonym advertisement (by * the namespace owner). */ -#define GNUNET_SIGNATURE_PURPOSE_NAMESPACE_ADVERTISEMENT 3 +#define GNUNET_SIGNATURE_PURPOSE_NAMESPACE_ADVERTISEMENT 4 + +/** + * Signature by which a peer affirms that it is + * providing a certain bit of content (used + * in LOCation URIs). + */ +#define GNUNET_SIGNATURE_PURPOSE_PEER_PLACEMENT 5 + +/** + * Signature in a KBlock of the FS module. + */ +#define GNUNET_SIGNATURE_PURPOSE_FS_KBLOCK 6 + +/** + * Signature of content URI placed into a namespace. + */ +#define GNUNET_SIGNATURE_PURPOSE_FS_SBLOCK 7 + +/** + * Signature of advertisment for a namespace. + */ +#define GNUNET_SIGNATURE_PURPOSE_FS_NBLOCK 8 + +/** + * Keyword-based signature of advertisment for a namespace. + */ +#define GNUNET_SIGNATURE_PURPOSE_FS_NBLOCK_KSIG 9 /** * */ -#define GNUNET_SIGNATURE_PURPOSE_RESOLVER_RESPONSE 3 +#define GNUNET_SIGNATURE_PURPOSE_RESOLVER_RESPONSE 10 + +/** + * Signature of an GNUNET_DNS_Record + */ +#define GNUNET_SIGNATURE_PURPOSE_DNS_RECORD 11 + +/** + * Signature of a chat message. + */ +#define GNUNET_SIGNATURE_PURPOSE_CHAT_MESSAGE 12 +/** + * Signature of confirmation receipt for a chat message. + */ +#define GNUNET_SIGNATURE_PURPOSE_CHAT_RECEIPT 13 + +/** + * Signature of a network size estimate message. + */ +#define GNUNET_SIGNATURE_PURPOSE_NSE_SEND 14 #if 0 /* keep Emacsens' auto-indent happy */ {