| 60 |
ZEND_FUNCTION(vp_is_moderator ); |
ZEND_FUNCTION(vp_is_moderator ); |
| 61 |
ZEND_FUNCTION(vp_get_uid ); |
ZEND_FUNCTION(vp_get_uid ); |
| 62 |
|
|
| 63 |
|
ZEND_FUNCTION(vp_get_last_error_string ); |
| 64 |
|
|
| 65 |
ZEND_FUNCTION(vp_test_criteria ); |
ZEND_FUNCTION(vp_test_criteria ); |
| 66 |
ZEND_FUNCTION(vp_test_uids ); |
ZEND_FUNCTION(vp_test_uids ); |
| 67 |
}; |
}; |
| 100 |
ZEND_FE(vp_get_groups ,NULL) |
ZEND_FE(vp_get_groups ,NULL) |
| 101 |
ZEND_FE(vp_is_moderator ,NULL) |
ZEND_FE(vp_is_moderator ,NULL) |
| 102 |
ZEND_FE(vp_get_uid ,NULL) |
ZEND_FE(vp_get_uid ,NULL) |
| 103 |
|
ZEND_FE(vp_get_last_error_string ,NULL) |
| 104 |
ZEND_FE(vp_test_criteria ,NULL) |
ZEND_FE(vp_test_criteria ,NULL) |
| 105 |
ZEND_FE(vp_test_uids ,NULL) |
ZEND_FE(vp_test_uids ,NULL) |
| 106 |
{NULL, NULL, NULL} |
{NULL, NULL, NULL} |
| 1260 |
RETURN_LONG( result ); |
RETURN_LONG( result ); |
| 1261 |
} |
} |
| 1262 |
|
|
| 1263 |
|
/** エラー文字列を得る<br> |
| 1264 |
|
string vp_get_last_error_string() |
| 1265 |
|
@return 0 success |
| 1266 |
|
*/ |
| 1267 |
|
ZEND_FUNCTION(vp_get_last_error_string) |
| 1268 |
|
{ |
| 1269 |
|
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "" ) == FAILURE) { |
| 1270 |
|
return; |
| 1271 |
|
} |
| 1272 |
|
|
| 1273 |
|
string str( getLastErrorString() ); |
| 1274 |
|
RETURN_STRING((char *)str.c_str(), 1); |
| 1275 |
|
} |
| 1276 |
|
|