Subversion Repositories Spectranet

[/] [trunk/] [tnfs/] [tnfsd/] [datagram.h] - Diff between revs 299 and 570

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 299 Rev 570
Line 42... Line 42...
#include "tnfs.h"
#include "tnfs.h"
 
 
/* Handle the socket interface */
/* Handle the socket interface */
void tnfs_sockinit();
void tnfs_sockinit();
void tnfs_mainloop();
void tnfs_mainloop();
 
void tnfs_handle_udpmsg();
 
void tcp_accept(int *fdlist);
 
void tnfs_handle_tcpmsg(int cli_fd);
void tnfs_decode(struct sockaddr_in *cliaddr,
void tnfs_decode(struct sockaddr_in *cliaddr,
                int rxbytes, unsigned char *rxbuf);
                int rxbytes, unsigned char *rxbuf);
void tnfs_badcommand(Header *hdr, Session *sess);
void tnfs_badcommand(Header *hdr, Session *sess);
void tnfs_send(Session *sess, Header *hdr, unsigned char *msg, int msgsz);
void tnfs_send(Session *sess, Header *hdr, unsigned char *msg, int msgsz);
void tnfs_resend(Session *sess, struct sockaddr_in *cliaddr);
void tnfs_resend(Session *sess, struct sockaddr_in *cliaddr);