home *** CD-ROM | disk | FTP | other *** search
/ Super Net 1 / SUPERNET_1.iso / PC / OTROS / EXTRAS / UUCODE / UUPC / TEST / UPC12ES4.ZIP / RNEWS / history.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-30  |  1.3 KB  |  33 lines

  1. /*--------------------------------------------------------------------*/
  2. /*    h i s t o r y . h                                               */
  3. /*                                                                    */
  4. /*    News history file maintenance for UUPC/extended.                */
  5. /*                                                                    */
  6. /*--------------------------------------------------------------------*/
  7.  
  8. /* new version, rewritten for history-based news database
  9.  * Author:  Kai Uwe Rommel <rommel@ars.muc.de>
  10.  * Created: Sun Aug 15 1993
  11.  */
  12.  
  13. /* $Id: HISTORY.H 1.1 1993/09/05 10:56:49 rommel Exp $ */
  14.  
  15. /* $Log: HISTORY.H $
  16.  * Revision 1.1  1993/09/05  10:56:49  rommel
  17.  * Initial revision
  18.  * */
  19.  
  20. void *open_history(char *name);
  21. void close_history(void *hdbm_file);
  22.  
  23. int add_histentry(void *hdbm_file, char *messageID, char *hist_record);
  24. int delete_histentry(void *hdbm_file, char *messageID);
  25.  
  26. char *get_histentry(void *hdbm_file, char *messageID);
  27. int get_first_histentry(void *hdbm_file, char **messageID, char **histentry);
  28. int get_next_histentry(void *hdbm_file, char **messageID, char **histentry);
  29.  
  30. int count_postings(char *histentry);
  31. char *purge_article(char *histentry, char **groups);
  32. void cancel_article(void *hdbm_file, char *messageID);
  33.