| 16 |
#define EXPORT |
#define EXPORT |
| 17 |
#endif |
#endif |
| 18 |
|
|
| 19 |
// 単一のUSERID -> userid_t |
|
| 20 |
// 複数のUSERID -> userid_t* |
#define ACCOUNT_UNAME_LEN 25 |
| 21 |
|
#define ACCOUNT_NAME_LEN 60 |
| 22 |
|
#define ACCOUNT_EMAIL_LEN 60 |
| 23 |
|
#define ACCOUNT_URL_LEN 100 |
| 24 |
|
#define ACCOUNT_USER_AVATAR_LEN 30 |
| 25 |
|
#define ACCOUNT_USER_ICQ_LEN 15 |
| 26 |
|
#define ACCOUNT_USER_FROM_LEN 100 |
| 27 |
|
#define ACCOUNT_USER_SIG_LEN 255 |
| 28 |
|
#define ACCOUNT_ACTKEY_LEN 8 |
| 29 |
|
#define ACCOUNT_USER_AIM_LEN 18 |
| 30 |
|
#define ACCOUNT_USER_YIM_LEN 25 |
| 31 |
|
#define ACCOUNT_USER_MSNM_LEN 100 |
| 32 |
|
#define ACCOUNT_PASS_LEN 32 |
| 33 |
|
#define ACCOUNT_THEME_LEN 100 |
| 34 |
|
#define ACCOUNT_UMODE_LEN 10 |
| 35 |
|
#define ACCOUNT_USER_OCC_LEN 100 |
| 36 |
|
#define ACCOUNT_BIO_LEN 255 |
| 37 |
|
#define ACCOUNT_USER_INTREST_LEN 150 |
| 38 |
|
|
| 39 |
|
//maximum length for each columns defined in DB tables 'vpaccount_user' |
| 40 |
|
#define VP_ACCOUNT_ADDRESS_LEN 255 |
| 41 |
|
#define VP_ACCOUNT_DIVISION_LEN 255 |
| 42 |
|
#define VP_ACCOUNT_TEL_LEN 32 |
| 43 |
|
#define VP_ACCOUNT_COMPANY_NAME_LEN 255 |
| 44 |
|
#define VP_ACCOUNT_COUNTRY_LEN 255 |
| 45 |
|
#define VP_ACCOUNT_ZIPCODE_LEN 32 |
| 46 |
|
#define VP_ACCOUNT_FAX_LEN 32 |
| 47 |
|
#define VP_ACCOUNT_BASE_URL_LEN 255 |
| 48 |
|
|
| 49 |
|
#define VP_GROUP_GNAME_LEN 255 |
| 50 |
|
#define VP_GROUP_GDESC_LEN 255 |
| 51 |
|
|
| 52 |
EXPORT result_t initializeDB( const char* host, const char* user, const char* password, const char* dbname, const char* prefix ); |
EXPORT result_t initializeDB( const char* host, const char* user, const char* password, const char* dbname, const char* prefix ); |
| 53 |
EXPORT result_t uninitializeDB(); |
EXPORT result_t uninitializeDB(); |