From f236f3364325c0c78b2d6f00648bbe946baf5482 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Fri, 1 Jun 2007 21:23:53 +0000 Subject: [PATCH] (xform_type): New data type (transform_member_name): Last argument is of xform_type type All callers updated --- src/common.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/common.h b/src/common.h index 24aa91d..6dd1abd 100644 --- a/src/common.h +++ b/src/common.h @@ -725,7 +725,14 @@ bool string_ascii_p (const char *str); bool utf8_convert (bool to_utf, char const *input, char **output); /* Module transform.c */ +typedef enum + { + xform_regfile, + xform_link, + xform_symlink + } xform_type; + void set_transform_expr (const char *expr); bool transform_name (char **pinput); -bool transform_member_name (char **pinput, bool lnk); +bool transform_member_name (char **pinput, xform_type type); bool transform_name_fp (char **pinput, char *(*fun)(char *, void *), void *); -- 2.45.2