summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_compression_get
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--doc/functions/gnutls_compression_get11
-rw-r--r--doc/functions/gnutls_compression_get.short1
-rw-r--r--doc/functions/gnutls_compression_get_id12
-rw-r--r--doc/functions/gnutls_compression_get_id.short1
-rw-r--r--doc/functions/gnutls_compression_get_name12
-rw-r--r--doc/functions/gnutls_compression_get_name.short1
6 files changed, 38 insertions, 0 deletions
diff --git a/doc/functions/gnutls_compression_get b/doc/functions/gnutls_compression_get
new file mode 100644
index 0000000..16ccd07
--- /dev/null
+++ b/doc/functions/gnutls_compression_get
@@ -0,0 +1,11 @@
+
+
+
+@deftypefun {gnutls_compression_method_t} {gnutls_compression_get} (gnutls_session_t @var{session})
+@var{session}: is a @code{gnutls_session_t} type.
+
+Get the currently used compression algorithm.
+
+@strong{Returns:} the currently used compression method, a
+@code{gnutls_compression_method_t} value.
+@end deftypefun
diff --git a/doc/functions/gnutls_compression_get.short b/doc/functions/gnutls_compression_get.short
new file mode 100644
index 0000000..4f38255
--- /dev/null
+++ b/doc/functions/gnutls_compression_get.short
@@ -0,0 +1 @@
+@item @var{gnutls_compression_method_t} @ref{gnutls_compression_get} (gnutls_session_t @var{session})
diff --git a/doc/functions/gnutls_compression_get_id b/doc/functions/gnutls_compression_get_id
new file mode 100644
index 0000000..8df5958
--- /dev/null
+++ b/doc/functions/gnutls_compression_get_id
@@ -0,0 +1,12 @@
+
+
+
+
+@deftypefun {gnutls_compression_method_t} {gnutls_compression_get_id} (const char * @var{name})
+@var{name}: is a compression method name
+
+The names are compared in a case insensitive way.
+
+@strong{Returns:} an id of the specified in a string compression method, or
+@code{GNUTLS_COMP_UNKNOWN} on error.
+@end deftypefun
diff --git a/doc/functions/gnutls_compression_get_id.short b/doc/functions/gnutls_compression_get_id.short
new file mode 100644
index 0000000..38d8e99
--- /dev/null
+++ b/doc/functions/gnutls_compression_get_id.short
@@ -0,0 +1 @@
+@item @var{gnutls_compression_method_t} @ref{gnutls_compression_get_id} (const char * @var{name})
diff --git a/doc/functions/gnutls_compression_get_name b/doc/functions/gnutls_compression_get_name
new file mode 100644
index 0000000..931060a
--- /dev/null
+++ b/doc/functions/gnutls_compression_get_name
@@ -0,0 +1,12 @@
+
+
+
+
+@deftypefun {const char *} {gnutls_compression_get_name} (gnutls_compression_method_t @var{algorithm})
+@var{algorithm}: is a Compression algorithm
+
+Convert a @code{gnutls_compression_method_t} value to a string.
+
+@strong{Returns:} a pointer to a string that contains the name of the
+specified compression algorithm, or @code{NULL} .
+@end deftypefun
diff --git a/doc/functions/gnutls_compression_get_name.short b/doc/functions/gnutls_compression_get_name.short
new file mode 100644
index 0000000..0b282e6
--- /dev/null
+++ b/doc/functions/gnutls_compression_get_name.short
@@ -0,0 +1 @@
+@item @var{const char *} @ref{gnutls_compression_get_name} (gnutls_compression_method_t @var{algorithm})