seqwriter.h

Go to the documentation of this file.
00001 /**
00002  * @file ccn/seqwriter.h
00003  * @brief
00004  * 
00005  * Part of the CCNx C Library.
00006  *
00007  * Copyright (C) 2010 Palo Alto Research Center, Inc.
00008  *
00009  * This library is free software; you can redistribute it and/or modify it
00010  * under the terms of the GNU Lesser General Public License version 2.1
00011  * as published by the Free Software Foundation.
00012  * This library is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00015  * Lesser General Public License for more details. You should have received
00016  * a copy of the GNU Lesser General Public License along with this library;
00017  * if not, write to the Free Software Foundation, Inc., 51 Franklin Street,
00018  * Fifth Floor, Boston, MA 02110-1301 USA.
00019  */
00020  
00021 #ifndef CCN_SEQWRITER_DEFINED
00022 #define CCN_SEQWRITER_DEFINED
00023 
00024 #include <stddef.h>
00025 struct ccn_seqwriter;
00026 struct ccn;
00027 struct ccn_charbuf;
00028 
00029 struct ccn_seqwriter *ccn_seqw_create(struct ccn *h, struct ccn_charbuf *name);
00030 int ccn_seqw_possible_interest(struct ccn_seqwriter *w);
00031 int ccn_seqw_batch_start(struct ccn_seqwriter *w);
00032 int ccn_seqw_write(struct ccn_seqwriter *w, const void *buf, size_t size);
00033 int ccn_seqw_batch_end(struct ccn_seqwriter *w);
00034 int ccn_seqw_close(struct ccn_seqwriter *w);
00035 
00036 #endif
Generated on Fri May 13 16:27:02 2011 for Content-Centric Networking in C by  doxygen 1.6.3