|
60 | 60 | #include "signature.h"
|
61 | 61 | #include "reset.h"
|
62 | 62 | #include "message.h"
|
| 63 | +#include "submodule.h" |
63 | 64 |
|
64 | 65 | int git2_resource_handle;
|
65 | 66 |
|
@@ -813,6 +814,35 @@ static zend_function_entry php_git2_functions[] = {
|
813 | 814 | /* message */
|
814 | 815 | PHP_FE(git_message_prettify, arginfo_git_message_prettify)
|
815 | 816 |
|
| 817 | + /* submodule */ |
| 818 | + PHP_FE(git_submodule_lookup, arginfo_git_submodule_lookup) |
| 819 | + PHP_FE(git_submodule_foreach, arginfo_git_submodule_foreach) |
| 820 | + PHP_FE(git_submodule_add_setup, arginfo_git_submodule_add_setup) |
| 821 | + PHP_FE(git_submodule_add_finalize, arginfo_git_submodule_add_finalize) |
| 822 | + PHP_FE(git_submodule_add_to_index, arginfo_git_submodule_add_to_index) |
| 823 | + PHP_FE(git_submodule_save, arginfo_git_submodule_save) |
| 824 | + PHP_FE(git_submodule_owner, arginfo_git_submodule_owner) |
| 825 | + PHP_FE(git_submodule_name, arginfo_git_submodule_name) |
| 826 | + PHP_FE(git_submodule_path, arginfo_git_submodule_path) |
| 827 | + PHP_FE(git_submodule_url, arginfo_git_submodule_url) |
| 828 | + PHP_FE(git_submodule_set_url, arginfo_git_submodule_set_url) |
| 829 | + PHP_FE(git_submodule_index_id, arginfo_git_submodule_index_id) |
| 830 | + PHP_FE(git_submodule_head_id, arginfo_git_submodule_head_id) |
| 831 | + PHP_FE(git_submodule_wd_id, arginfo_git_submodule_wd_id) |
| 832 | + PHP_FE(git_submodule_ignore, arginfo_git_submodule_ignore) |
| 833 | + PHP_FE(git_submodule_set_ignore, arginfo_git_submodule_set_ignore) |
| 834 | + PHP_FE(git_submodule_update, arginfo_git_submodule_update) |
| 835 | + PHP_FE(git_submodule_set_update, arginfo_git_submodule_set_update) |
| 836 | + PHP_FE(git_submodule_fetch_recurse_submodules, arginfo_git_submodule_fetch_recurse_submodules) |
| 837 | + PHP_FE(git_submodule_set_fetch_recurse_submodules, arginfo_git_submodule_set_fetch_recurse_submodules) |
| 838 | + PHP_FE(git_submodule_init, arginfo_git_submodule_init) |
| 839 | + PHP_FE(git_submodule_sync, arginfo_git_submodule_sync) |
| 840 | + PHP_FE(git_submodule_open, arginfo_git_submodule_open) |
| 841 | + PHP_FE(git_submodule_reload, arginfo_git_submodule_reload) |
| 842 | + PHP_FE(git_submodule_reload_all, arginfo_git_submodule_reload_all) |
| 843 | + PHP_FE(git_submodule_status, arginfo_git_submodule_status) |
| 844 | + PHP_FE(git_submodule_location, arginfo_git_submodule_location) |
| 845 | + |
816 | 846 | /* misc */
|
817 | 847 | PHP_FE(git_resource_type, arginfo_git_resource_type)
|
818 | 848 | PHP_FE_END
|
|
0 commit comments