Mercurial > noffle
comparison src/database.h @ 61:adf0af5152f7 noffle
[svn] Renamed some variables and function names, because they caused compiler
warnings because of shadowing global variables from system include files
(index, stat, serv).
author | enz |
---|---|
date | Fri, 12 May 2000 18:19:38 +0100 |
parents | 125d79c9e586 |
children | 3c71e28c8eef |
comparison
equal
deleted
inserted
replaced
60:defaa632baae | 61:adf0af5152f7 |
---|---|
1 /* | 1 /* |
2 database.h | 2 database.h |
3 | 3 |
4 Article database. | 4 Article database. |
5 | 5 |
6 $Id: database.h 60 2000-05-09 22:28:38Z uh1763 $ | 6 $Id: database.h 67 2000-05-12 17:19:38Z enz $ |
7 */ | 7 */ |
8 | 8 |
9 #ifndef DB_H | 9 #ifndef DB_H |
10 #define DB_H | 10 #define DB_H |
11 | 11 |
50 /* Store full article. Can only be used after Db_prepareEntry. */ | 50 /* Store full article. Can only be used after Db_prepareEntry. */ |
51 Bool | 51 Bool |
52 Db_storeArt( const char *msgId, const char *artTxt ); | 52 Db_storeArt( const char *msgId, const char *artTxt ); |
53 | 53 |
54 void | 54 void |
55 Db_setStat( const char *msgId, int stat ); | 55 Db_setStatus( const char *msgId, int status ); |
56 | 56 |
57 void | 57 void |
58 Db_updateLastAccess( const char *msgId ); | 58 Db_updateLastAccess( const char *msgId ); |
59 | 59 |
60 /* Xref header line without hostname */ | 60 /* Xref header line without hostname */ |
66 | 66 |
67 const char * | 67 const char * |
68 Db_body( const char *msgId ); | 68 Db_body( const char *msgId ); |
69 | 69 |
70 int | 70 int |
71 Db_stat( const char *msgId ); | 71 Db_status( const char *msgId ); |
72 | 72 |
73 /* Get last modification time of entry. Returns -1, if msgId non-existing. */ | 73 /* Get last modification time of entry. Returns -1, if msgId non-existing. */ |
74 time_t | 74 time_t |
75 Db_lastAccess( const char *msgId ); | 75 Db_lastAccess( const char *msgId ); |
76 | 76 |