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) \
*
* 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)
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
*