summaryrefslogtreecommitdiff
path: root/src/libgit2/streams/registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgit2/streams/registry.h')
-rw-r--r--src/libgit2/streams/registry.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/libgit2/streams/registry.h b/src/libgit2/streams/registry.h
new file mode 100644
index 000000000..adc2b8bdf
--- /dev/null
+++ b/src/libgit2/streams/registry.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) the libgit2 contributors. All rights reserved.
+ *
+ * This file is part of libgit2, distributed under the GNU GPL v2 with
+ * a Linking Exception. For full terms see the included COPYING file.
+ */
+#ifndef INCLUDE_streams_registry_h__
+#define INCLUDE_streams_registry_h__
+
+#include "common.h"
+#include "git2/sys/stream.h"
+
+/** Configure stream registry. */
+int git_stream_registry_global_init(void);
+
+/** Lookup a stream registration. */
+extern int git_stream_registry_lookup(git_stream_registration *out, git_stream_t type);
+
+#endif