Develop and Download Open Source Software

Browse CVS Repository

Annotation of /xoonips/AL/common.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.7 - (hide annotations) (download) (as text)
Wed Dec 1 04:38:24 2004 UTC (19 years, 4 months ago) by youi
Branch: MAIN
Changes since 1.6: +3 -3 lines
File MIME type: text/x-chdr
userid_t, groupid_tのtypedefを修正.

1 youi 1.2 /*
2 youi 1.7 * $Revision: 1.6 $
3 youi 1.2 */
4 youi 1.1 #if !defined( COMMON_H )
5     #define COMMON_H
6 youi 1.2
7 aga 1.3 #include<string>
8    
9 youi 1.2 typedef enum {
10     RES_OK = 0,
11     RES_ERROR,
12 youi 1.6 RES_DB_NOT_INITIALIZED,
13 aga 1.5 RES_LOGIN_FAILURE,
14 youi 1.2 RES_NO_SUCH_SESSION,
15     RES_NO_SUCH_USER,
16 youi 1.6 RES_NO_SUCH_GROUP,
17 youi 1.2 RES_DB_QUERY_ERROR,
18     RES_DB_CONNECT_ERROR,
19     RES_DB_INITIALIZE_ERROR
20     } result_t;
21    
22 youi 1.7 typedef int userid_t;
23     typedef int groupid_t;
24 youi 1.1
25     char* str_dup( const char* );
26     char* setValue( char** , const char* );
27 aga 1.3 string intToString( int i );
28 aga 1.4 string unsignedIntToString( unsigned int i );
29 youi 1.1
30     #endif
31    
32    

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26