summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-03-06 17:11:37 +0100
committerSimon Josefsson <simon@josefsson.org>2008-03-06 17:11:37 +0100
commit889272ce5a77b983d5ad084ee699189ec3c8b169 (patch)
tree14b435edd13a11f4fb8294c0ee3e8f372bbce04a /lib
parent8900de200240de896821ed6f9a1536b46fd1d147 (diff)
downloadgnutls-889272ce5a77b983d5ad084ee699189ec3c8b169.tar.gz
Doc fixes.
Diffstat (limited to 'lib')
-rw-r--r--lib/opencdk/stream.c11
-rw-r--r--lib/opencdk/verify.c5
2 files changed, 9 insertions, 7 deletions
diff --git a/lib/opencdk/stream.c b/lib/opencdk/stream.c
index 0360c43146..02b6346941 100644
--- a/lib/opencdk/stream.c
+++ b/lib/opencdk/stream.c
@@ -1,5 +1,5 @@
/* stream.c - The stream implementation
- * Copyright (C) 2002, 2003, 2007 Timo Schulz
+ * Copyright (C) 2002, 2003, 2007, 2008 Timo Schulz
*
* This file is part of OpenCDK.
*
@@ -316,13 +316,14 @@ _cdk_stream_append (const char *file, cdk_stream_t *ret_s)
return 0;
}
-
/**
* cdk_stream_is_compressed:
* @s: the stream
- *
- * Returns 0 if the stream is uncompressed, otherwise the
- * compression algorithm.
+ *
+ * Check whether stream is compressed.
+ *
+ * Returns: 0 if the stream is uncompressed, otherwise the compression
+ * algorithm.
*/
int
cdk_stream_is_compressed (cdk_stream_t s)
diff --git a/lib/opencdk/verify.c b/lib/opencdk/verify.c
index 0f4c7bc859..9046952f41 100644
--- a/lib/opencdk/verify.c
+++ b/lib/opencdk/verify.c
@@ -1,5 +1,5 @@
/* verify.c - Verify signatures
- * Copyright (C) 2001, 2002, 2003, 2007 Timo Schulz
+ * Copyright (C) 2001, 2002, 2003, 2007, 2008 Timo Schulz
*
* This file is part of OpenCDK.
*
@@ -56,6 +56,8 @@ static int file_verify_clearsign (cdk_ctx_t, const char *, const char *);
* @inp: the input stream
* @data: for detached signatures, this is the data stream @inp is the sig
* @out: where the output shall be written.
+ *
+ * Verify a signature in stream.
*/
cdk_error_t
cdk_stream_verify (cdk_ctx_t hd, cdk_stream_t inp, cdk_stream_t data,
@@ -67,7 +69,6 @@ cdk_stream_verify (cdk_ctx_t hd, cdk_stream_t inp, cdk_stream_t data,
return _cdk_proc_packets (hd, inp, data, NULL, NULL, NULL);
}
-
/**
* cdk_file_verify:
* @hd: the session handle