X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/90edb255effd0d29d94e662ca5bf3e9eda7ed122..9674a6207f8a58010d560d60091a626b12ab0e3a:/h/prototypes.h diff --git a/h/prototypes.h b/h/prototypes.h index a17d12f9..18b87586 100644 --- a/h/prototypes.h +++ b/h/prototypes.h @@ -1,6 +1,4 @@ - -/* - * prototypes.h -- various prototypes +/* prototypes.h -- various prototypes * * If you modify functions here, please document their current behavior * as much as practical. @@ -18,6 +16,7 @@ char *etcpath(char *); struct msgs_array; void add_profile_entry (const char *, const char *); +void inform(char *fmt, ...); void adios (const char *, const char *, ...) NORETURN; void admonish (char *, char *, ...); void advertise (const char *, char *, const char *, va_list); @@ -53,7 +52,6 @@ int context_foil (char *); void context_read (void); void context_replace (char *, char *); void context_save (void); -char *copy (const char *, char *); char **copyip (char **, char **, int); void cpydata (int, int, const char *, const char *); void cpydgst (int, int, char *, char *); @@ -205,7 +203,7 @@ char *get_term_stringcap(char *capability); * arg1..argN - Arguments 1-N. * * Returns a tparm and tputs-processed string, or NULL if there was a problem - * initializating the terminal or retrieving the capability. + * initialising the terminal or retrieving the capability. */ char *get_term_stringparm(char *capability, long arg1, long arg2); @@ -312,7 +310,6 @@ void nmh_clear_screen(void); char *nmh_getpass(const char *); char *new_fs (char *, char *, char *); char *path(char *, int); -int peekc(FILE *ib); int pidwait (pid_t, int); int pidstatus (int, FILE *, char *); char *pluspath(char *); @@ -537,7 +534,7 @@ nmh_creds_t nmh_get_credentials (const char *host, const char *user); * * creds - Structure from previous nmh_get_credentials() call * - * Returns NULL on error, otherwise a NUL-termined string containing + * Returns NULL on error, otherwise a NUL-terminated string containing * the username. Points to allocated memory in the credentials structure * that is free()d by nmh_free_credentials(). */