ccnr_init.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef CCNR_INIT_DEFINED
00024 #define CCNR_INIT_DEFINED
00025
00026 #include "ccnr_private.h"
00027
00028 struct ccnr_parsed_policy *ccnr_parsed_policy_create(void);
00029 void ccnr_parsed_policy_destroy(struct ccnr_parsed_policy **ppp);
00030 struct ccnr_handle *r_init_create(const char *progname,ccnr_logger logger,void *loggerdata);
00031 void r_init_fail(struct ccnr_handle *, int, const char *, int);
00032 void r_init_destroy(struct ccnr_handle **pccnr);
00033 int r_init_map_and_process_file(struct ccnr_handle *h, struct ccn_charbuf *filename, int add_content);
00034 struct ccn_charbuf *ccnr_init_policy_link_cob(struct ccnr_handle *ccnr, struct ccn *h, struct ccn_charbuf *targetname);
00035 intmax_t r_init_confval(struct ccnr_handle *h, const char *key,
00036 intmax_t lo, intmax_t hi, intmax_t deflt);
00037 #endif