diff options
author | JP Rosevear <jpr@src.gnome.org> | 2001-01-24 04:22:40 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-01-24 04:22:40 +0800 |
commit | 4028f454b6c274fa093056180af8d11e5c7bfd1e (patch) | |
tree | 0152cebbfed39e61ca4fb959cbaa49b5a8b3f528 /libical/src/libicalss/icalcstp.h | |
parent | bf4a1512b2fc7b83ce723ecafbb02947e577e7d8 (diff) | |
download | gsoc2013-evolution-4028f454b6c274fa093056180af8d11e5c7bfd1e.tar gsoc2013-evolution-4028f454b6c274fa093056180af8d11e5c7bfd1e.tar.gz gsoc2013-evolution-4028f454b6c274fa093056180af8d11e5c7bfd1e.tar.bz2 gsoc2013-evolution-4028f454b6c274fa093056180af8d11e5c7bfd1e.tar.lz gsoc2013-evolution-4028f454b6c274fa093056180af8d11e5c7bfd1e.tar.xz gsoc2013-evolution-4028f454b6c274fa093056180af8d11e5c7bfd1e.tar.zst gsoc2013-evolution-4028f454b6c274fa093056180af8d11e5c7bfd1e.zip |
Import clean up
svn path=/trunk/; revision=7751
Diffstat (limited to 'libical/src/libicalss/icalcstp.h')
-rw-r--r-- | libical/src/libicalss/icalcstp.h | 13 |
1 files changed, 7 insertions, 6 deletions
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 |