X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/93a18dd7a6b92922361383a4e6152380da5f3583..refs/heads/master:/h/fmt_scan.h?ds=inline diff --git a/h/fmt_scan.h b/h/fmt_scan.h index 2574c579..40ef9c03 100644 --- a/h/fmt_scan.h +++ b/h/fmt_scan.h @@ -96,28 +96,6 @@ struct fmt_callbacks { void * trace_context; }; -/* - * Create a new format string. Arguments are: - * - * form - Name of format file. Will be searched by etcpath(), see that - * function for details. - * format - The format string to be used if no format file is given - * default_fs - The default format string to be used if neither form nor - * format is given - * - * This function also takes care of processing \ escapes like \n, \t, etc. - * - * Returns an allocated format string. - */ - -char *new_fs (char *form, char *format, char *default_fs); - -/* - * Free memory allocated by new_fs(). It allocates to a static so - * no argument is necessary. - */ -void free_fs(void); - /* * Compile a format string into a set of format instructions. Arguments are: * @@ -289,25 +267,3 @@ void fmt_appendcomp(int bucket, char *component, char *text); */ struct comp *fmt_nextcomp(struct comp *comp, unsigned int *bucket); - -/* - * The implementation of the %(formataddr) function. This is available for - * programs to provide their own local implementation if they wish to do - * special processing (see uip/replsbr.c for an example). Arguments are: - * - * orig - Existing list of addresses - * str - New address(es) to append to list. - * - * This function returns an allocated string containing the new list of - * addresses. - */ - -char *formataddr(char *orig, char *str); - -/* - * The implementation of the %(concataddr) function. Arguments and behavior - * are the same as %(formataddr). Again, see uip/replsbr.c to see how you - * can override this behavior. - */ - -char *concataddr(char *orig, char *str);