Browse CVS Repository
Contents of /xoonips/AL/common.h
Parent Directory
| Revision Log
| Revision Graph
Revision 1.2 -
( show annotations)
( download)
( as text)
Thu Nov 25 08:57:39 2004 UTC
(19 years, 4 months ago)
by youi
Branch: MAIN
Changes since 1.1: +17 -0 lines
File MIME type: text/x-chdr
result_tをtypedefした.
| 1 |
/* |
| 2 |
* $Revision$ |
| 3 |
*/ |
| 4 |
#if !defined( COMMON_H ) |
| 5 |
#define COMMON_H |
| 6 |
|
| 7 |
typedef enum { |
| 8 |
RES_OK = 0, |
| 9 |
RES_ERROR, |
| 10 |
RES_LOGIN_FAILUE, |
| 11 |
RES_NO_SUCH_SESSION, |
| 12 |
RES_NO_SUCH_USER, |
| 13 |
RES_DB_QUERY_ERROR, |
| 14 |
RES_DB_CONNECT_ERROR, |
| 15 |
RES_DB_INITIALIZE_ERROR |
| 16 |
} result_t; |
| 17 |
|
| 18 |
typedef int userid_t; |
| 19 |
typedef int groupid_t; |
| 20 |
|
| 21 |
char* str_dup( const char* ); |
| 22 |
char* setValue( char** , const char* ); |
| 23 |
|
| 24 |
#endif |
| 25 |
|
| 26 |
|
|