aboutsummaryrefslogtreecommitdiff
path: root/src/lib/block/gnunet_block_dbus_lib.c
blob: c0e52fe92ec8e4533f3b5b11ebad982895a587a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include "config.h"

#include <gnunet/platform.h>
#include <gnunet/gnunet_common.h>
#include <gnunet/gnunet_block_lib.h>

#include "gnunet_block_dbus_lib.h"

const struct GNUNET_DBUS_StringEnumPair GNUNET_BLOCK_DBUS_type_description[] = {
    {"any",            GNUNET_BLOCK_TYPE_ANY},
    {"fs_dblock",      GNUNET_BLOCK_TYPE_FS_DBLOCK},
    {"fs_iblock",      GNUNET_BLOCK_TYPE_FS_IBLOCK},
    {"fs_kblock",      GNUNET_BLOCK_TYPE_FS_KBLOCK},
    {"fs_sblock",      GNUNET_BLOCK_TYPE_FS_SBLOCK},
    {"fs_nblock",      GNUNET_BLOCK_TYPE_FS_NBLOCK},
    {"fs_ondemand",    GNUNET_BLOCK_TYPE_FS_ONDEMAND},
    {"dht_hello",      GNUNET_BLOCK_TYPE_DHT_HELLO},
    {"test",           GNUNET_BLOCK_TYPE_TEST},
    {"fs_ublock",      GNUNET_BLOCK_TYPE_FS_UBLOCK},
    {"dns",            GNUNET_BLOCK_TYPE_DNS},
    {"gns_namerecord", GNUNET_BLOCK_TYPE_GNS_NAMERECORD},
    {"regex",          GNUNET_BLOCK_TYPE_REGEX},
    {"regex_accept",   GNUNET_BLOCK_TYPE_REGEX_ACCEPT},
    {NULL,             0}
};