gopher/prototypes.h

22 lines
440 B
C
Raw Normal View History

2012-04-28 01:18:46 +00:00
#ifndef __prototypes_h__
#define __prototypes_h__
#include <stdio.h>
int read_binary(unsigned ipid, FILE *file);
int setfiletype(const char *filename);
#ifdef __CONNECTION_H__
int ConnectLoop(char *host, Word port, Connection *connection);
int CloseLoop(Connection *connection);
#endif
#ifdef __url_h__
2012-04-28 03:36:25 +00:00
int do_gopher(const char *url, URLComponents *components);
int do_http(const char *url, URLComponents *components);
2012-04-28 01:18:46 +00:00
#endif
#endif