* Used as the decoder ctx.
*/
typedef struct {
- fr_dict_attr_t const *root;
+ int nothing;
} fr_tftp_ctx_t;
/*
test_ctx = talloc_zero(ctx, fr_tftp_ctx_t);
if (!test_ctx) return -1;
- test_ctx->root = fr_dict_root(dict_tftp);
talloc_set_destructor(test_ctx, _decode_test_ctx);
*out = test_ctx;
* Used as the encoder ctx.
*/
typedef struct {
- fr_dict_attr_t const *root;
+ int nothing;
} fr_tftp_ctx_t;
/*
* Test points for protocol encode
test_ctx = talloc_zero(ctx, fr_tftp_ctx_t);
if (!test_ctx) return -1;
- test_ctx->root = fr_dict_root(dict_tftp);
talloc_set_destructor(test_ctx, _encode_test_ctx);
*out = test_ctx;
#include "vmps.h"
#include "attrs.h"
+/** Used as the decoder ctx
+ *
+ */
+typedef struct {
+ int nothing;
+} fr_vmps_ctx_t;
+
/*
* http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/tcpdump/print-vqp.c
*
test_ctx = talloc_zero(ctx, fr_vmps_ctx_t);
if (!test_ctx) return -1;
- test_ctx->root = fr_dict_root(dict_vmps);
talloc_set_destructor(test_ctx, _decode_test_ctx);
*out = test_ctx;
test_ctx = talloc_zero(ctx, fr_vmps_ctx_t);
if (!test_ctx) return -1;
- test_ctx->root = fr_dict_root(dict_vmps);
talloc_set_destructor(test_ctx, _encode_test_ctx);
*out = test_ctx;
void fr_vmps_free(void);
-/** Used as the decoder ctx
- *
- */
-typedef struct {
- fr_dict_attr_t const *root;
-} fr_vmps_ctx_t;
-
#ifdef __cplusplus
}
#endif