about summary refs log blame commit diff stats
path: root/WWW/Library/Implementation/HTGopher.h
blob: 667fc24ee28651dbb30fce903c19a61833426a8c (plain) (tree)




























                                                                                             
/*                                                          Gopher protocol module for libwww
                                      GOPHER ACCESS
                                             
  HISTORY:
  
  8 Jan 92               Adapted from HTTP TBL
                         
 */

#ifndef HTGOPHER_H
#define HTGOPHER_H

#include <HTAccess.h>
#include <HTAnchor.h>

#ifdef __cplusplus
extern "C" {
#endif
#ifdef GLOBALREF_IS_MACRO
    extern GLOBALREF (HTProtocol, HTGopher);

#else
    GLOBALREF HTProtocol HTGopher;
#endif				/* GLOBALREF_IS_MACRO */

#ifdef __cplusplus
}
#endif
#endif				/* HTGOPHER_H */
ass="s">"C" { #endif typedef struct _HTAtom HTAtom; struct _HTAtom { HTAtom *next; char *name; }; /* struct _HTAtom */ extern HTAtom *HTAtom_for(const char *string); extern HTList *HTAtom_templateMatches(const char *templ); #define HTAtom_name(a) ((a)->name) /* The HTFormat type We use the HTAtom object for holding representations. This allows faster manipulation (comparison and copying) that if we stayed with strings. */ typedef HTAtom *HTFormat; #ifdef __cplusplus } #endif #endif /* HTATOM_H */