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.4 - (hide annotations) (download) (as text)
Fri Nov 26 05:13:40 2004 UTC (19 years, 4 months ago) by aga
Branch: MAIN
Changes since 1.3: +4 -3 lines
File MIME type: text/x-chdr
・userid_t, groupid_tをunsigned int に修正.
・unsignedIntToString()を作成.

1 youi 1.2 /*
2 aga 1.4 * $Revision: 1.3 $
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     RES_LOGIN_FAILUE,
13     RES_NO_SUCH_SESSION,
14     RES_NO_SUCH_USER,
15     RES_DB_QUERY_ERROR,
16     RES_DB_CONNECT_ERROR,
17     RES_DB_INITIALIZE_ERROR
18     } result_t;
19    
20 aga 1.4 typedef unsigned int userid_t;
21     typedef unsigned int groupid_t;
22 youi 1.1
23     char* str_dup( const char* );
24     char* setValue( char** , const char* );
25 aga 1.3 string intToString( int i );
26 aga 1.4 string unsignedIntToString( unsigned int i );
27 youi 1.1
28     #endif
29    
30    

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