summaryrefslogtreecommitdiff
path: root/libps/ps.h
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-02 04:17:10 +0000
committerMiles Bader <miles@gnu.org>1996-05-02 04:17:10 +0000
commit1d14e9fea5d9f375df9bc9f068d8c0b808ec13e7 (patch)
treeb19289af24f9593f34e84c78553b733de0267578 /libps/ps.h
parentb909a1e4fac898654fb027a30babe862fd5955c9 (diff)
(ps_fmt_creation_error): new declaration.
Diffstat (limited to 'libps/ps.h')
-rw-r--r--libps/ps.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libps/ps.h b/libps/ps.h
index 4807af99..81a4195f 100644
--- a/libps/ps.h
+++ b/libps/ps.h
@@ -742,6 +742,11 @@ struct ps_fmt
error_t ps_fmt_create (char *src, struct ps_fmt_specs *fmt_specs,
struct ps_fmt **fmt);
+/* Given the same arguments as a previous call to ps_fmt_create that returned
+ an error, this function returns a malloced string describing the error. */
+void ps_fmt_creation_error (char *src, struct ps_fmt_specs *fmt_specs,
+ char **error);
+
/* Free FMT, and any resources it consumes. */
void ps_fmt_free (struct ps_fmt *fmt);