From 3b766317e823ced6ec332ec00e336efeefb5aa60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 18 Aug 2006 08:41:09 +0000 Subject: [PATCH] Document krb5_{ret,store}_stringnl functions. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17884 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/krb5_storage.3 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/lib/krb5/krb5_storage.3 b/lib/krb5/krb5_storage.3 index edaf6ff0a..af95208c3 100644 --- a/lib/krb5/krb5_storage.3 +++ b/lib/krb5/krb5_storage.3 @@ -31,7 +31,7 @@ .\" .\" $Id$ .\" -.Dd May 4, 2006 +.Dd Aug 18, 2006 .Dt KRB5_STORAGE 3 .Os HEIMDAL .Sh NAME @@ -67,6 +67,8 @@ .Nm krb5_ret_data , .Nm krb5_store_string , .Nm krb5_ret_string , +.Nm krb5_store_stringnl , +.Nm krb5_ret_stringnl , .Nm krb5_store_stringz , .Nm krb5_ret_stringz , .Nm krb5_store_principal , @@ -154,6 +156,10 @@ Kerberos 5 Library (libkrb5, -lkrb5) .Ft krb5_error_code .Fn krb5_ret_string "krb5_storage *sp" "char **string" .Ft krb5_error_code +.Fn krb5_store_stringnl "krb5_storage *sp" "const char *s" +.Ft krb5_error_code +.Fn krb5_ret_stringnl "krb5_storage *sp" "char **string" +.Ft krb5_error_code .Fn krb5_store_stringz "krb5_storage *sp" "const char *s" .Ft krb5_error_code .Fn krb5_ret_stringz "krb5_storage *sp" "char **string" @@ -363,6 +369,12 @@ store and reads a string by storing the length of the string with .Fn krb5_store_int32 followed by the string itself. .Pp +.Fn krb5_store_stringnl +and +.Fn krb5_ret_stringnl +store and reads a string by storing string followed by a +.Dv '\n' . +.Pp .Fn krb5_store_stringz and .Fn krb5_ret_stringz