Develop and Download Open Source Software

Browse CVS Repository

Contents of /xoonips/AL/common.h

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


Revision 1.11 - (show annotations) (download) (as text)
Sat Jan 15 05:39:06 2005 UTC (19 years, 2 months ago) by youi
Branch: MAIN
Changes since 1.10: +3 -6 lines
File MIME type: text/x-chdr
result_tにRES_NO_SUCH_ITEMを追加.
typedefしていた型をいくつか削除.

1 /*
2 * $Revision: 1.10 $
3 */
4 #if !defined( COMMON_H )
5 #define COMMON_H
6
7 #include<string>
8 using namespace std;
9 typedef enum {
10 RES_OK = 0,
11 RES_ERROR,
12 RES_DB_NOT_INITIALIZED,
13 RES_LOGIN_FAILURE,
14 RES_NO_SUCH_SESSION,
15 RES_NO_SUCH_USER,
16 RES_NO_SUCH_GROUP,
17 RES_DB_QUERY_ERROR,
18 RES_DB_CONNECT_ERROR,
19 RES_DB_INITIALIZE_ERROR,
20 RES_NO_SUCH_ITEM,
21 RES_NO_WRITE_ACCESS_RIGHT,
22 RES_NO_READ_ACCESS_RIGHT,
23
24 RES_PHP_NONREF=1000
25 } result_t;
26
27 typedef unsigned int indexid_t;
28
29 char* str_dup( const char* );
30 char* setValue( char** , const char* );
31 string intToString( int i );
32 string unsignedIntToString( unsigned int i );
33
34 #endif
35
36

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