#ifndef JSON_H #define JSON_H 1 #include "jsmn.h" jsmntok_t *parse_json(const char *fn, char **map, size_t *size, int *len); void free_json(char *map, size_t size, jsmntok_t *tokens); int json_line(char *map, jsmntok_t *t); const char *json_name(jsmntok_t *t); int json_streq(char *map, jsmntok_t *t, const char *s); int json_len(jsmntok_t *t); extern int verbose; #include extern int eprintf(int level, int var, const char *fmt, ...); #define pr_fmt(fmt) fmt #define pr_err(fmt, ...) \ eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__) #define pr_info(fmt, ...) \ eprintf(1, verbose, pr_fmt(fmt), ##__VA_ARGS__) #define pr_debug(fmt, ...) \ eprintf(2, verbose, pr_fmt(fmt), ##__VA_ARGS__) #ifndef roundup #define roundup(x, y) ( \ { \ const typeof(y) __y = y; \ (((x) + (__y - 1)) / __y) * __y; \ } \ ) #endif #endif ue='emaclite-cleanup'>emaclite-cleanup net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include/uapi/rdma
ModeNameSize
-rw-r--r--Kbuild468logplain
-rw-r--r--cxgb3-abi.h2291logplain
-rw-r--r--cxgb4-abi.h2488logplain
d---------hfi73logplain
-rw-r--r--hns-abi.h1795logplain
-rw-r--r--ib_user_cm.h6526logplain
-rw-r--r--ib_user_mad.h8791logplain
-rw-r--r--ib_user_sa.h2222logplain
-rw-r--r--ib_user_verbs.h21586logplain
-rw-r--r--mlx4-abi.h2864logplain