2 * Acess2 - URI Parser and opener
3 * By John Hodge (thePowersGang)
8 typedef struct sURI tURI;
9 typedef struct sURIFile tURIFile;
10 typedef struct sURIHandler tURIHandler;
32 int (*Open)(char *Host, int Port, char *Path, int Flags);
33 void (*Close)(int Handle);
34 size_t (*Read)(int Handle, size_t Bytes, void *Buffer);
35 size_t (*Write)(int Handle, size_t Bytes, void *Buffer);
36 size_t (*GetSize)(int Handle);
40 extern tURI *URI_Parse(const char *String);
41 extern tURIFile *URI_Open(int Mode, tURI *URI);
42 extern int URI_GetSize(tURIFile *File, size_t *Size);
43 extern size_t URI_Read(tURIFile *File, size_t Bytes, void *Buffer);
44 extern size_t URI_Write(tURIFile *File, size_t Bytes, void *Buffer);
45 extern void URI_Close(tURIFile *File);