protocol/frame.h

Go to the documentation of this file.
00001 #ifndef utu_frame_h
00002 #define utu_frame_h
00003 
00004 /*
00005  * Utu -- Saving The Internet With Hate
00006  *
00007  * Copyright (c) Zed A. Shaw 2005 (zedshaw@zedshaw.com)
00008  *
00009  * This file is modifiable/redistributable under the terms of the GNU
00010  * General Public License.
00011  *
00012  * You should have recieved a copy of the GNU General Public License along
00013  * with this program; see the file COPYING. If not, write to the Free Software
00014  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
00015  */
00016 
00017 
00018 
00019 #include "stackish/node.h"
00020 #include <myriad/sbuf.h>
00021 
00029 typedef struct FrameSource {
00030   sbuf *out;
00031   sbuf *in;
00032   int fd;
00033 } FrameSource;
00034 
00035 
00055 Node *FrameSource_recv(FrameSource frame, bstring *hbuf, Node **header) ;
00056 
00057 
00069 int FrameSource_send(FrameSource frame, bstring header, Node *msg, int flush);
00070 
00071 #endif

Generated on Tue Apr 10 01:00:18 2007 for Utu by  doxygen 1.5.1