summaryrefslogtreecommitdiff
path: root/include/git2/deprecated.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-06-08 17:14:00 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2019-06-10 11:37:00 +0100
commit810cefd93fce0eaca7d1dc09d366145be5214e76 (patch)
tree2f1ff10a8e50207535494c21f93b18bc5508f58c /include/git2/deprecated.h
parente50d138e898dd034161663873f75716086266f86 (diff)
downloadlibgit2-810cefd93fce0eaca7d1dc09d366145be5214e76.tar.gz
credentials: suffix the callbacks with `_cb`
The credential callbacks should match the other callback naming conventions, using the `_cb` suffix instead of a `_callback` suffix.
Diffstat (limited to 'include/git2/deprecated.h')
-rw-r--r--include/git2/deprecated.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/git2/deprecated.h b/include/git2/deprecated.h
index 9fe986116..4c11b070a 100644
--- a/include/git2/deprecated.h
+++ b/include/git2/deprecated.h
@@ -246,6 +246,21 @@ GIT_EXTERN(void) giterr_set_oom(void);
/**@}*/
+/** @name Deprecated Credential Callback Types
+ *
+ * These types are retained for backward compatibility. The newer
+ * versions of these values should be preferred in all new code.
+ *
+ * There is no plan to remove these backward compatibility values at
+ * this time.
+ */
+/**@{*/
+
+typedef git_cred_sign_cb git_cred_sign_callback;
+typedef git_cred_ssh_interactive_cb git_cred_ssh_interactive_callback;
+
+/**@}*/
+
/** @name Deprecated Transfer Progress Types
*
* These types are retained for backward compatibility. The newer