sockaddrutil.h

Go to the documentation of this file.
00001 /**
00002  * @file sockaddrutil.h
00003  * @brief sockaddr utilities
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_SOCKADDRUTIL_DEFINED
00022 #define CCN_SOCKADDRUTIL_DEFINED
00023 
00024 #include <sys/socket.h>
00025 #include <ccn/charbuf.h>
00026 
00027 /* Append numeric printable representation, return port. */
00028 int ccn_charbuf_append_sockaddr(struct ccn_charbuf *, const struct sockaddr *);
00029 
00030 #endif

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