int initGopher(char ***protocols, int *nrprotocols); int openGopher(const char *url, int method, int flags, const char *referer); int doneGopher(int fd); int peekGopher(int fd); int readGopher(int fd, char *buf, size_t nbytes); int writeGopher(int fd, const char *buf, size_t nbytes); int infoGopher(int fd, W3ADocumentInfo *buf); int closeGopher(int fd); int deleteGopher(const char *url);