[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
shishi/lib shishi.h.in key.c
From: |
shishi-commit |
Subject: |
shishi/lib shishi.h.in key.c |
Date: |
Sun, 19 Oct 2003 20:46:18 -0400 |
CVSROOT: /cvsroot/shishi
Module name: shishi
Branch:
Changes by: Simon Josefsson <address@hidden> 03/10/19 20:46:18
Modified files:
lib : shishi.h.in key.c
Log message:
(shishi_key_from_value, shishi_key_from_base64): Mark parameter as
'const'.
(shishi_key_from_random): Likewise.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/shishi/shishi/lib/shishi.h.in.diff?tr1=1.181&tr2=1.182&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/shishi/shishi/lib/key.c.diff?tr1=1.22&tr2=1.23&r1=text&r2=text
Patches:
Index: shishi/lib/key.c
diff -u shishi/lib/key.c:1.22 shishi/lib/key.c:1.23
--- shishi/lib/key.c:1.22 Thu Sep 18 17:54:09 2003
+++ shishi/lib/key.c Sun Oct 19 20:46:18 2003
@@ -268,7 +268,7 @@
**/
int
shishi_key_from_value (Shishi * handle,
- int32_t type, char *value, Shishi_key ** key)
+ int32_t type, const char *value, Shishi_key ** key)
{
int rc;
@@ -300,7 +300,7 @@
**/
int
shishi_key_from_base64 (Shishi * handle,
- int32_t type, char *value, Shishi_key ** key)
+ int32_t type, const char *value, Shishi_key ** key)
{
int rc;
@@ -384,7 +384,8 @@
int
shishi_key_from_random (Shishi * handle,
int32_t type,
- char *random, size_t randomlen, Shishi_key ** outkey)
+ const char *random, size_t randomlen,
+ Shishi_key ** outkey)
{
int rc;
Index: shishi/lib/shishi.h.in
diff -u shishi/lib/shishi.h.in:1.181 shishi/lib/shishi.h.in:1.182
--- shishi/lib/shishi.h.in:1.181 Sat Oct 11 15:50:03 2003
+++ shishi/lib/shishi.h.in Sun Oct 19 20:46:18 2003
@@ -1679,13 +1679,13 @@
int32_t type, Shishi_key ** key);
extern int shishi_key_from_value (Shishi * handle,
int32_t type,
- char *value, Shishi_key ** key);
+ const char *value, Shishi_key ** key);
extern int shishi_key_from_base64 (Shishi * handle,
int32_t type,
- char *value, Shishi_key ** key);
+ const char *value, Shishi_key ** key);
extern int shishi_key_from_random (Shishi * handle,
int32_t type,
- char *random, size_t randomlen,
+ const char *random, size_t randomlen,
Shishi_key ** outkey);
extern int shishi_key_from_string (Shishi * handle,
int32_t type,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- shishi/lib shishi.h.in key.c,
shishi-commit <=