Mercurial > noffle
view src/over.h @ 44:bb6a1bf61279 noffle
[svn] Oops. Forgot three files in my last commit:
* Removed Makefile.
* Added docs/Makefile.am and docs/Makefile.in
author | uh1763 |
---|---|
date | Fri, 05 May 2000 22:50:13 +0100 |
parents | 2842f50feb55 |
children | 32ba1198c6fa |
line wrap: on
line source
/* over.h Processing of single article overviews. Handling of overview files is in content.c. An article overview contains important article properties, such as date, from, subject. $Id: over.h 49 2000-05-05 21:45:56Z uh1763 $ */ #ifndef OVER_H #define OVER_H #include <time.h> #include "common.h" struct Over; typedef struct Over Over; /* Usual fields from overview databases. Xref without hostname. */ Over * new_Over( const char *subj, const char *from, const char *date, const char *msgId, char *ref, size_t bytes, size_t lines ); /* free memory */ void del_Over( Over *self ); /* read Over-struct from line */ Over * Ov_read( char *line ); /* write struct Over to f as a line */ Bool Ov_write( const Over *self, FILE *f ); /* Access particular fields in struct over */ int Ov_numb( const Over *self ); const char * Ov_subj( const Over *self ); const char * Ov_from( const Over *self ); const char * Ov_date( const Over *self ); const char * Ov_msgId( const Over *self ); const char * Ov_ref( const Over *self ); size_t Ov_bytes( const Over *self ); size_t Ov_lines( const Over *self ); void Ov_setNumb( Over *self, int numb ); #endif