TIP: Click on subject to list as thread! ANSI
echo: public_domain
to: All
from: Paul Edwards
date: 1995-06-26 17:01:18
subject: pkt.h

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

#ifndef PKT_INCLUDED
#define PKT_INCLUDED

#include "repofile.h"
#include "slidwin.h"

typedef struct {
    char *date;
    char *to;
    char *from;
    char *subject;
    char *text;
    char *endt;
    char area[80];
} PMSG;

typedef struct {
    PMSG pmsg;
    PMSG *rmsg;
    char *buf;
    size_t szbuf;
    REPOFILE repofile;
    long nextLoc;
    SLIDWIN slidwin;
    char *p;
} PKT;

void pktDefaults(PKT *pkt);
void pktInit(PKT *pkt);
void pktTerm(PKT *pkt);
void pktSetFile(PKT *pkt, char *filename);
void pktFinFile(PKT *pkt);
PMSG *pktFirstMsg(PKT *pkt);
PMSG *pktNextMsg(PKT *pkt);

#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™.