summaryrefslogtreecommitdiff
path: root/libps/ps.h
diff options
context:
space:
mode:
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);