]> git.ipfire.org Git - thirdparty/git.git/blobdiff - serve.h
Start the 2.46 cycle
[thirdparty/git.git] / serve.h
diff --git a/serve.h b/serve.h
index fc2683e24d30577c41d4800239bf19b134316140..f946cf904a242db5106625e280d7daa671348516 100644 (file)
--- a/serve.h
+++ b/serve.h
@@ -1,15 +1,7 @@
 #ifndef SERVE_H
 #define SERVE_H
 
-struct strvec;
-int has_capability(const struct strvec *keys, const char *capability,
-                  const char **value);
-
-struct serve_options {
-       unsigned advertise_capabilities;
-       unsigned stateless_rpc;
-};
-#define SERVE_OPTIONS_INIT { 0 }
-void serve(struct serve_options *options);
+void protocol_v2_advertise_capabilities(void);
+void protocol_v2_serve_loop(int stateless_rpc);
 
 #endif /* SERVE_H */