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.10 - (hide annotations) (download) (as text)
Fri Jan 14 10:36:59 2005 UTC (19 years, 2 months ago) by aga
Branch: MAIN
Changes since 1.9: +6 -1 lines
File MIME type: text/x-chdr
・index関係の処理を追加.
・insertAccountでprivate indexを作成するよう修正.
・insertGroupでgroup index を作成するよう修正.

1 youi 1.2 /*
2 aga 1.10 * $Revision: 1.9 $
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 aga 1.9 using namespace std;
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 aga 1.8 RES_DB_INITIALIZE_ERROR,
20 aga 1.10 RES_NO_WRITE_ACCESS_RIGHT,
21     RES_NO_READ_ACCESS_RIGHT,
22 aga 1.8
23     RES_PHP_NONREF=1000
24 youi 1.2 } result_t;
25    
26 youi 1.7 typedef int userid_t;
27     typedef int groupid_t;
28 aga 1.10 typedef int itemid_t;
29     typedef int itemtypeid_t;
30     typedef int indexid_t;
31 youi 1.1
32     char* str_dup( const char* );
33     char* setValue( char** , const char* );
34 aga 1.3 string intToString( int i );
35 aga 1.4 string unsignedIntToString( unsigned int i );
36 youi 1.1
37     #endif
38    
39    

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