From 4028f454b6c274fa093056180af8d11e5c7bfd1e Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Tue, 23 Jan 2001 20:22:40 +0000 Subject: Import clean up svn path=/trunk/; revision=7751 --- libical/src/libicalss/icalcstp.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'libical/src/libicalss/icalcstp.h') diff --git a/libical/src/libicalss/icalcstp.h b/libical/src/libicalss/icalcstp.h index 63f5af913f..2ebccd622a 100644 --- a/libical/src/libicalss/icalcstp.h +++ b/libical/src/libicalss/icalcstp.h @@ -52,9 +52,10 @@ 1) Construct a new icalcstps, bound to your code via stubs 2) Repeat forever: - 2a) Get string from client & give to icalcstps_next_input() - 2b) Call icalcstps_next_output. Send string to client. - + 2a) Get string from client & give to icalcstps_next_input() + 2b) Repeat until icalcstp_next_output returns 0: + 2b1) Call icalcstps_next_output. + 2b2) Send string to client. */ @@ -101,11 +102,11 @@ int icalcstps_next_input(icalcstps* cstp); /* How to use: 1) Construct a new icalcstpc - 2) Issue a command + 2) Issue a command by calling one of the command routines. 3) Repeat until both call icalcstpc_next_output and icalcstpc_next_input return 0: - 3a) Call icalcstpc_next_output. Send string to server. - 3b) Get string from server, & give to icalcstp_next_input() + 3a) Call icalcstpc_next_output. Send string to server. + 3b) Get string from server, & give to icalcstp_next_input() 4) Iterate with icalcstpc_first_response & icalcstp_next_response to get the servers responses 5) Repeat at #2 -- cgit v1.2.3