home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / os2 / thread / pmnthrd.h < prev   
Encoding:
Text File  |  1993-02-21  |  690 b   |  22 lines

  1. /*
  2.  *  decls for thread algorithm support for PMNews
  3.  */
  4.  
  5.  
  6. /* threading algorithm must return a pointer which it wants
  7.    passed to it with each new subject line processed by pmnews1 */
  8. void * thread_init(void);
  9.  
  10. /* called at completion of thread pass for the newsgroup */
  11. void   thread_end( void * ancp );
  12.  
  13.  
  14.  
  15. /* called for each new subject line.
  16.    returns TRUE if it found a subject (ARTICLE) to thread-to,
  17.    FALSE if it had to allocate an ARTICLE.
  18.    'subjline' is mixed-case with some extraneous gunk removed
  19.    'ancp' is ptr returned by thread_init.
  20.    'targ' is to be stored in all cases */
  21. BOOL   thread_compare( char * subjline, void * ancp, ARTICLE **targ );
  22.