ccnr_init.h

Go to the documentation of this file.
00001 /**
00002  * @file ccnr_init.h
00003  * 
00004  * Part of ccnr - CCNx Repository Daemon.
00005  *
00006  */
00007 
00008 /*
00009  * Copyright (C) 2011 Palo Alto Research Center, Inc.
00010  *
00011  * This work is free software; you can redistribute it and/or modify it under
00012  * the terms of the GNU General Public License version 2 as published by the
00013  * Free Software Foundation.
00014  * This work is distributed in the hope that it will be useful, but WITHOUT ANY
00015  * WARRANTY; without even the implied warranty of MERCHANTABILITY or
00016  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
00017  * for more details. You should have received a copy of the GNU General Public
00018  * License along with this program; if not, write to the
00019  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00020  * Boston, MA 02110-1301, USA.
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

Generated on Thu Feb 16 00:43:58 2012 for Content-Centric Networking in C by  doxygen 1.5.6