| 153 |
ZEND_FUNCTION(xnp_insert_event); |
ZEND_FUNCTION(xnp_insert_event); |
| 154 |
ZEND_FUNCTION(xnp_get_events); |
ZEND_FUNCTION(xnp_get_events); |
| 155 |
}; |
}; |
| 156 |
|
|
| 157 |
|
static unsigned char fourth_arg_force_ref[] = { 4, BYREF_NONE, BYREF_NONE, BYREF_NONE, BYREF_FORCE }; |
| 158 |
|
static unsigned char second_and_third_arg_force_ref[] = { 3, BYREF_NONE, BYREF_FORCE, BYREF_FORCE }; |
| 159 |
|
|
| 160 |
/* compiled function list so Zend knows what's in this module */ |
/* compiled function list so Zend knows what's in this module */ |
| 161 |
zend_function_entry xnpalmod_functions[] = |
zend_function_entry xnpalmod_functions[] = |
| 162 |
{ |
{ |
| 163 |
ZEND_FE(first_module ,NULL) |
ZEND_FE(first_module ,NULL) |
| 164 |
ZEND_FE(xnp_initialize_db ,NULL) |
ZEND_FE(xnp_initialize_db ,NULL) |
| 165 |
ZEND_FE(xnp_login_user ,NULL) |
ZEND_FE(xnp_login_user ,third_arg_force_ref) |
| 166 |
ZEND_FE(xnp_logout_user ,NULL) |
ZEND_FE(xnp_logout_user ,NULL) |
| 167 |
ZEND_FE(xnp_create_session ,NULL) |
ZEND_FE(xnp_create_session ,third_arg_force_ref) |
| 168 |
ZEND_FE(xnp_get_session ,NULL) |
ZEND_FE(xnp_get_session ,second_arg_force_ref ) |
| 169 |
ZEND_FE(xnp_is_activated ,NULL) |
ZEND_FE(xnp_is_activated ,NULL) |
| 170 |
ZEND_FE(xnp_activate ,NULL) |
ZEND_FE(xnp_activate ,NULL) |
| 171 |
ZEND_FE(xnp_get_account_count ,NULL) |
ZEND_FE(xnp_get_account_count ,NULL) |
| 172 |
ZEND_FE(xnp_delete_account ,NULL) |
ZEND_FE(xnp_delete_account ,NULL) |
| 173 |
ZEND_FE(xnp_get_account ,NULL) |
ZEND_FE(xnp_get_account ,third_arg_force_ref) |
| 174 |
ZEND_FE(xnp_get_accounts ,NULL) |
ZEND_FE(xnp_get_accounts ,fourth_arg_force_ref) |
| 175 |
ZEND_FE(xnp_insert_account ,NULL) |
ZEND_FE(xnp_insert_account ,third_arg_force_ref) |
| 176 |
ZEND_FE(xnp_update_account ,NULL) |
ZEND_FE(xnp_update_account ,NULL) |
| 177 |
ZEND_FE(xnp_dump_uids ,NULL) |
ZEND_FE(xnp_dump_uids ,third_arg_force_ref) |
| 178 |
ZEND_FE(xnp_get_group_count ,NULL) |
ZEND_FE(xnp_get_group_count ,NULL) |
| 179 |
ZEND_FE(xnp_get_groups_by_uid ,NULL) |
ZEND_FE(xnp_get_groups_by_uid ,fourth_arg_force_ref) |
| 180 |
ZEND_FE(xnp_is_group_admin ,NULL) |
ZEND_FE(xnp_is_group_admin ,NULL) |
| 181 |
ZEND_FE(xnp_dump_gids ,NULL) |
ZEND_FE(xnp_dump_gids ,third_arg_force_ref) |
| 182 |
ZEND_FE(xnp_dump_group_admins ,NULL) |
ZEND_FE(xnp_dump_group_admins ,NULL) |
| 183 |
ZEND_FE(xnp_delete_member ,NULL) |
ZEND_FE(xnp_delete_member ,NULL) |
| 184 |
ZEND_FE(xnp_insert_member ,NULL) |
ZEND_FE(xnp_insert_member ,NULL) |
| 185 |
ZEND_FE(xnp_get_members ,NULL) |
ZEND_FE(xnp_get_members ,fourth_arg_force_ref) |
| 186 |
ZEND_FE(xnp_delete_group ,NULL) |
ZEND_FE(xnp_delete_group ,NULL) |
| 187 |
ZEND_FE(xnp_insert_group ,NULL) |
ZEND_FE(xnp_insert_group ,third_arg_force_ref) |
| 188 |
ZEND_FE(xnp_update_group ,NULL) |
ZEND_FE(xnp_update_group ,NULL) |
| 189 |
ZEND_FE(xnp_get_group ,NULL) |
ZEND_FE(xnp_get_group ,third_arg_force_ref) |
| 190 |
ZEND_FE(xnp_get_groups ,NULL) |
ZEND_FE(xnp_get_groups ,fourth_arg_force_ref) |
| 191 |
ZEND_FE(xnp_is_moderator ,NULL) |
ZEND_FE(xnp_is_moderator ,NULL) |
| 192 |
ZEND_FE(xnp_get_uid ,NULL) |
ZEND_FE(xnp_get_uid ,second_arg_force_ref) |
| 193 |
|
|
| 194 |
ZEND_FE(xnp_get_all_indexes ,NULL) |
ZEND_FE(xnp_get_all_indexes ,third_arg_force_ref) |
| 195 |
ZEND_FE(xnp_get_indexes ,NULL) |
ZEND_FE(xnp_get_indexes ,fourth_arg_force_ref) |
| 196 |
ZEND_FE(xnp_insert_index ,NULL) |
ZEND_FE(xnp_insert_index ,third_arg_force_ref) |
| 197 |
ZEND_FE(xnp_update_index ,NULL) |
ZEND_FE(xnp_update_index ,NULL) |
| 198 |
ZEND_FE(xnp_delete_index ,NULL) |
ZEND_FE(xnp_delete_index ,NULL) |
| 199 |
ZEND_FE(xnp_get_index ,NULL) |
ZEND_FE(xnp_get_index ,third_arg_force_ref) |
| 200 |
ZEND_FE(xnp_is_index_readable ,NULL) |
ZEND_FE(xnp_is_index_readable ,NULL) |
| 201 |
ZEND_FE(xnp_is_index_writable ,NULL) |
ZEND_FE(xnp_is_index_writable ,NULL) |
| 202 |
ZEND_FE(xnp_swap_index_sort_number ,NULL) |
ZEND_FE(xnp_swap_index_sort_number ,NULL) |
| 210 |
ZEND_FE(xnp_get_index_permission ,NULL) |
ZEND_FE(xnp_get_index_permission ,NULL) |
| 211 |
ZEND_FE(xnp_get_certify_permission ,NULL) |
ZEND_FE(xnp_get_certify_permission ,NULL) |
| 212 |
|
|
| 213 |
ZEND_FE(xnp_get_certify_state ,NULL) |
ZEND_FE(xnp_get_certify_state ,fourth_arg_force_ref) |
| 214 |
ZEND_FE(xnp_set_certify_state ,NULL) |
ZEND_FE(xnp_set_certify_state ,NULL) |
| 215 |
|
|
| 216 |
ZEND_FE(xnp_insert_change_log ,NULL) |
ZEND_FE(xnp_insert_change_log ,NULL) |
| 217 |
ZEND_FE(xnp_get_change_logs ,NULL) |
ZEND_FE(xnp_get_change_logs ,third_arg_force_ref) |
| 218 |
|
|
| 219 |
ZEND_FE(xnp_get_config_value ,NULL) |
ZEND_FE(xnp_get_config_value ,second_arg_force_ref) |
| 220 |
ZEND_FE(xnp_set_config_value ,NULL) |
ZEND_FE(xnp_set_config_value ,NULL) |
| 221 |
|
|
| 222 |
ZEND_FE(xnp_dump_item_id ,NULL) |
ZEND_FE(xnp_dump_item_id ,NULL) |
| 223 |
ZEND_FE(xnp_get_item_id_by_binder_id ,NULL) |
ZEND_FE(xnp_get_item_id_by_binder_id ,fourth_arg_force_ref) |
| 224 |
ZEND_FE(xnp_get_item_id_by_index_id ,NULL) |
ZEND_FE(xnp_get_item_id_by_index_id ,fourth_arg_force_ref) |
| 225 |
ZEND_FE(xnp_get_overlapped_items ,NULL) |
ZEND_FE(xnp_get_overlapped_items ,NULL) /*?*/ |
| 226 |
|
|
| 227 |
ZEND_FE(xnp_insert_item ,NULL) |
ZEND_FE(xnp_insert_item ,third_arg_force_ref) |
| 228 |
ZEND_FE(xnp_insert_item_direct ,NULL) |
ZEND_FE(xnp_insert_item_direct ,third_arg_force_ref) |
| 229 |
ZEND_FE(xnp_update_item ,NULL) |
ZEND_FE(xnp_update_item ,NULL) |
| 230 |
ZEND_FE(xnp_delete_item ,NULL) |
ZEND_FE(xnp_delete_item ,NULL) |
| 231 |
ZEND_FE(xnp_get_item ,NULL) |
ZEND_FE(xnp_get_item ,third_arg_force_ref) |
| 232 |
ZEND_FE(xnp_get_items ,NULL) |
ZEND_FE(xnp_get_items ,fourth_arg_force_ref) |
| 233 |
|
|
| 234 |
ZEND_FE(xnp_pubmed_complete ,NULL) |
ZEND_FE(xnp_pubmed_complete ,second_arg_force_ref) |
| 235 |
ZEND_FE(xnp_amazon_complete ,NULL) |
ZEND_FE(xnp_amazon_complete ,second_arg_force_ref) |
| 236 |
|
|
| 237 |
// ZEND_FE(xnp_uninitialize_db ,NULL) |
// ZEND_FE(xnp_uninitialize_db ,NULL) |
| 238 |
|
|
| 242 |
ZEND_FE(xnp_register_item ,NULL) |
ZEND_FE(xnp_register_item ,NULL) |
| 243 |
ZEND_FE(xnp_unregister_item ,NULL) |
ZEND_FE(xnp_unregister_item ,NULL) |
| 244 |
|
|
| 245 |
ZEND_FE(xnp_get_uncertified_link ,NULL) |
ZEND_FE(xnp_get_uncertified_link ,second_and_third_arg_force_ref) |
| 246 |
ZEND_FE(xnp_get_private_item_id ,NULL) |
ZEND_FE(xnp_get_private_item_id ,third_arg_force_ref) |
| 247 |
ZEND_FE(xnp_get_group_item_id ,NULL) |
ZEND_FE(xnp_get_group_item_id ,third_arg_force_ref) |
| 248 |
|
|
| 249 |
ZEND_FE(xnp_get_item_types ,NULL) |
ZEND_FE(xnp_get_item_types ,first_arg_force_ref) |
| 250 |
|
|
| 251 |
ZEND_FE(xnp_get_index_id_by_item_id ,NULL) |
ZEND_FE(xnp_get_index_id_by_item_id ,third_arg_force_ref) |
| 252 |
ZEND_FE(xnp_get_own_public_item_id ,NULL) |
ZEND_FE(xnp_get_own_public_item_id ,third_arg_force_ref) |
| 253 |
|
|
| 254 |
ZEND_FE(xnp_zip_create ,NULL) |
ZEND_FE(xnp_zip_create ,NULL) |
| 255 |
ZEND_FE(xnp_get_item_count ,NULL) |
ZEND_FE(xnp_get_item_count ,NULL) |
| 256 |
ZEND_FE(xnp_get_item_count_group_by_index ,NULL) |
ZEND_FE(xnp_get_item_count_group_by_index ,second_arg_force_ref) |
| 257 |
|
|
| 258 |
ZEND_FE(xnp_extract_public_item_id ,NULL) |
ZEND_FE(xnp_extract_public_item_id ,third_arg_force_ref) |
| 259 |
ZEND_FE(xnp_extract_nonbinder_item_id,NULL) |
ZEND_FE(xnp_extract_nonbinder_item_id,third_arg_force_ref) |
| 260 |
ZEND_FE(xnp_insert_event ,NULL) |
ZEND_FE(xnp_insert_event ,NULL) |
| 261 |
ZEND_FE(xnp_get_events ,NULL) |
ZEND_FE(xnp_get_events ,second_arg_force_ref) |
| 262 |
{NULL, NULL, NULL} |
{NULL, NULL, NULL} |
| 263 |
}; |
}; |
| 264 |
|
|
| 2741 |
|
|
| 2742 |
result_t result = RES_ERROR; |
result_t result = RES_ERROR; |
| 2743 |
|
|
| 2744 |
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz/", |
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz", |
| 2745 |
&name, &nameLen, &zvalue ) == FAILURE) { |
&name, &nameLen, &zvalue ) == FAILURE) { |
| 2746 |
return; |
return; |
| 2747 |
} |
} |