TIP: Click on subject to list as thread! ANSI
echo: public_domain
to: All
from: Paul Edwards
date: 1995-06-25 15:09:16
subject: repofile.h

/* written by Paul Edwards */
/* released to the Public Domain */
/* see repofile.c for documentation */

#ifndef REPOFILE_INCLUDED
#define REPOFILE_INCLUDED

#include 

#include "estdio.h"
#include "repo.h"

typedef struct {
    REPO repo;
    EFILE fp;
    char *filename;
} REPOFILE;

#define repofileGetRepo(repofile) (&((repofile)->repo))

void repofileDefaults(REPOFILE *repofile);
void repofileInit(REPOFILE *repofile);
void repofileTerm(REPOFILE *repofile);
void repofileSetFile(REPOFILE *repofile, char *filename);
void repofileOpen(void *vstr);
void repofileClose(void *vstr);
void repofileSeek(void *vstr, long offset);
size_t repofileRead(void *vstr, char *buf, size_t szbuf);

#endif
@EOT:

---
* Origin: X (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.