| 1223 | }; |
| 1224 | |
| 1225 | void php_init_amule_lib() |
| 1226 | { |
| 1227 | // load function definitions |
| 1228 | PHP_BLTIN_FUNC_DEF *curr_def = amule_lib_funcs; |
| 1229 | while ( curr_def->name ) { |
| 1230 | php_add_native_func(curr_def); |
| 1231 | curr_def++; |
| 1232 | } |
| 1233 | // load object definitions |
| 1234 | php_add_native_class("AmuleDownloadFile", amule_download_file_prop_get); |
| 1235 | php_add_native_class("AmuleUploadFile", amule_upload_file_prop_get); |
| 1236 | php_add_native_class("AmuleServer", amule_server_prop_get); |
| 1237 | php_add_native_class("AmuleSharedFile", amule_shared_file_prop_get); |
| 1238 | php_add_native_class("AmuleSearchFile", amule_search_file_prop_get); |
| 1239 | } |
| 1240 | |
| 1241 | // File_checked_for_headers |
no test coverage detected