X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/blobdiff_plain/388e0319a0faf48193658c82228133bd1ea24eb6..ee07712cb7eb8f692976a5dcca97e8f138b5cfb5:/priv/comm.c diff --git a/priv/comm.c b/priv/comm.c index ad2e518c..316f6c8e 100644 --- a/priv/comm.c +++ b/priv/comm.c @@ -65,16 +65,15 @@ int pc_put(const void *p, size_t sz) return (0); } -/* --- @pc_puterr@, @pc_putuint@, @pc_putsz@, @pc_puttops@ --- * +/* --- @pc_puterr@, @pc_putuint@, @pc_putsz@ --- * * * Arguments: @int err@ = error number to write * @uint u@ = unsigned integer to write * @size_t sz@ = size to write - * @const tunnel_ops *tops@ = tunnel pointer to write * * Returns: Zero on success, @-1@ on error (and @errno@ set). * - * Use: Sends an error/integer/size/tunnel-ops pointer. + * Use: Sends an error/integer/size. */ #define PUT(abbr, type) \ @@ -87,7 +86,7 @@ COMM_TYPES(PUT) * * Returns: Zero on success, @-1@ on error (and @errno@ set). * - * Use: Sends a string/error/integer/tunnel-ops pointer. + * Use: Sends a string. */ int pc_putstring(const char *s) @@ -132,23 +131,22 @@ int pc_get(void *p, size_t sz) return (0); } -/* --- @pc_geterr@, @pc_getuint@, @pc_getsz@, @pc_getops@ --- * +/* --- @pc_geterr@, @pc_getuint@, @pc_getsz@ --- * * * Arguments: @int *err@ = where to put the error number * @uint *u@ = where to put the unsigned integer * @size_t *sz@ = where to put the size - * @const tunnel_ops **tops@ = where to put the tunnel pointer * * Returns: Zero on success, @-1@ on error (and @errno@ set). * - * Use: Receives an error/integer/size/tunnel-ops pointer. + * Use: Receives an error/integer/size. */ #define GET(abbr, type) \ int pc_get##abbr(type *x) { return (pc_get(x, sizeof(*x))); } COMM_TYPES(GET) -/* --- @pc_gettring@ --- * +/* --- @pc_getstring@ --- * * * Arguments: @dstr *d@ = where to pc_put the string *