diff options
| author | Jason Toffaletti <[email protected]> | 2014-01-06 16:55:29 +0000 |
|---|---|---|
| committer | Jason Toffaletti <[email protected]> | 2014-01-06 16:55:29 +0000 |
| commit | d1245446685ccdc632b6a9cee65391cbe4eac4df (patch) | |
| tree | 7520ad8269913e0560eb7f370d5766c73b8d17ba /wrapper.c | |
| parent | 5d8a14d108ac963a4865cd03e20e56b28ee9626e (diff) | |
minor
Diffstat (limited to 'wrapper.c')
| -rw-r--r-- | wrapper.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -25,7 +25,7 @@ int _go_git_odb_foreach(git_odb *db, void *payload) return git_odb_foreach(db, (git_odb_foreach_cb)&odbForEachCb, payload); } -void _setup_callbacks(git_remote_callbacks *callbacks) { +void _go_git_setup_callbacks(git_remote_callbacks *callbacks) { typedef int (*progress_cb)(const char *str, int len, void *data); typedef int (*completion_cb)(git_remote_completion_type type, void *data); typedef int (*credentials_cb)(git_cred **cred, const char *url, const char *username_from_url, unsigned int allowed_types, void *data); @@ -38,4 +38,9 @@ void _setup_callbacks(git_remote_callbacks *callbacks) { callbacks->update_tips = (update_tips_cb)updateTipsCallback; } +git_remote_callbacks _go_git_remote_callbacks_init() { + git_remote_callbacks ret = GIT_REMOTE_CALLBACKS_INIT; + return ret; +} + /* EOF */ |
