Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/common/expr.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/expr.h')
-rw-r--r--common/expr.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/common/expr.h b/common/expr.h
index 0ff2c28..2f6ca1b 100644
--- a/common/expr.h
+++ b/common/expr.h
@@ -2,7 +2,7 @@
expr.h - limited shell-like expression parsing functions
This file is part of the nss-pam-ldapd library.
- Copyright (C) 2009 Arthur de Jong
+ Copyright (C) 2009, 2012 Arthur de Jong
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -26,16 +26,16 @@
#include "compat/attrs.h"
#include "common/set.h"
-typedef const char *(*expr_expander_func)(const char *name,void *expander_arg);
+typedef const char *(*expr_expander_func) (const char *name, void *expander_arg);
/* Parse the expression and store the result in buffer, using the
expander function to expand variable names to values. If the expression
is invalid or the result didn't fit in the buffer NULL is returned. */
-MUST_USE const char *expr_parse(const char *expr,char *buffer,size_t buflen,
- expr_expander_func expander,void *expander_arg);
+MUST_USE const char *expr_parse(const char *expr, char *buffer, size_t buflen,
+ expr_expander_func expander, void *expander_arg);
/* Return the variable names that are used in expr. If set is NULL a new one
is allocated, otherwise the passed set is added to. */
-SET *expr_vars(const char *expr,SET *set);
+SET *expr_vars(const char *expr, SET *set);
#endif /* not _COMMON__ */