-struct passwd * pwcopy(struct passwd *pw);
-
-/*
- * Convert ASCII string to TCP/IP port number.
- * Port must be >0 and <=65535.
- * Return 0 if invalid.
- */
-int a2port(const char *s);
-
-/* code from scp.c/rcp.c */
-char *cleanhostname(char *host);
-char *colon(char *cp);
+typedef struct arglist arglist;
+struct arglist {
+ char **list;
+ int num;
+ int nalloc;
+};
+void addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3)));