[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS gsasl/doc
From: |
gsasl-commit |
Subject: |
CVS gsasl/doc |
Date: |
Mon, 04 Oct 2004 02:45:24 +0200 |
Update of /home/cvs/gsasl/doc
In directory dopio:/tmp/cvs-serv7156
Modified Files:
gsasl.texi
Log Message:
Fix.
--- /home/cvs/gsasl/doc/gsasl.texi 2004/10/04 00:44:36 1.79
+++ /home/cvs/gsasl/doc/gsasl.texi 2004/10/04 00:45:24 1.80
@@ -1115,7 +1115,7 @@
@example
int callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop)
-{
address@hidden
char buf[BUFSIZ] = "";
int rc = GSASL_NO_CALLBACK;
@@ -1124,7 +1124,7 @@
printf ("Callback invoked, for property %d.\n", prop);
switch (prop)
- {
+ @{
case GSASL_PASSCODE:
printf ("Enter passcode:\n");
fgets (buf, sizeof (buf) - 1, stdin);
@@ -1146,10 +1146,10 @@
default:
printf ("Unknown property! Don't worry.\n");
break;
- }
+ @}
return rc;
-}
address@hidden
@end example
Again, it is bad style to use a fixed size buffer.
@@ -1159,7 +1159,7 @@
@code{GSASL_NO_CALLBACK}. The basic properties to support are
authentication identity (@code{GSASL_AUTHID}), authorization identity
(@code{GSASL_AUTHZID}), and password (@code{GSASL_PASSWORD}). See
address@hidden for the list of all properties, and what your
address@hidden, for the list of all properties, and what your
callback should (ideally) do for them.
@section Server note: client send data first
- CVS gsasl/doc, gsasl-commit, 2004/10/03
- CVS gsasl/doc, gsasl-commit, 2004/10/03
- CVS gsasl/doc, gsasl-commit, 2004/10/03
- CVS gsasl/doc, gsasl-commit, 2004/10/03
- CVS gsasl/doc, gsasl-commit, 2004/10/03
- CVS gsasl/doc,
gsasl-commit <=
- CVS gsasl/doc, gsasl-commit, 2004/10/03
- CVS gsasl/doc, gsasl-commit, 2004/10/03
- CVS gsasl/doc, gsasl-commit, 2004/10/03
- CVS gsasl/doc, gsasl-commit, 2004/10/04
- CVS gsasl/doc, gsasl-commit, 2004/10/04
- CVS gsasl/doc, gsasl-commit, 2004/10/04
- CVS gsasl/doc, gsasl-commit, 2004/10/12
- CVS gsasl/doc, gsasl-commit, 2004/10/12
- CVS gsasl/doc, gsasl-commit, 2004/10/15
- CVS gsasl/doc, gsasl-commit, 2004/10/28