File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 2222 */
2323GIT_BEGIN_DECL
2424
25+ /**
26+ * Callback for messages recieved by the transport.
27+ *
28+ * Return a negative value to cancel the network operation.
29+ *
30+ * @param str The message from the transport
31+ * @param len The length of the message
32+ * @param payload Payload provided by the caller
33+ */
34+ typedef int GIT_CALLBACK (git_transport_message_cb )(const char * str , int len , void * payload );
35+
2536/** Signature of a function which creates a transport */
2637typedef int GIT_CALLBACK (git_transport_cb )(git_transport * * out , git_remote * owner , void * param );
2738
Original file line number Diff line number Diff line change @@ -244,17 +244,6 @@ typedef struct git_push git_push;
244244typedef struct git_remote_head git_remote_head ;
245245typedef struct git_remote_callbacks git_remote_callbacks ;
246246
247- /**
248- * Type for messages delivered by the transport. Return a negative value
249- * to cancel the network operation.
250- *
251- * @param str The message from the transport
252- * @param len The length of the message
253- * @param payload Payload provided by the caller
254- */
255- typedef int GIT_CALLBACK (git_transport_message_cb )(const char * str , int len , void * payload );
256-
257-
258247/**
259248 * Parent type for `git_cert_hostkey` and `git_cert_x509`.
260249 */
You can’t perform that action at this time.
0 commit comments