Browse Source

(xform_type): New data type
(transform_member_name): Last argument is of xform_type type
All callers updated

Sergey Poznyakoff 18 years ago
parent
commit
f236f33643
1 changed files with 8 additions and 1 deletions
  1. 8 1
      src/common.h

+ 8 - 1
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 *);