Displaying 2 results from an estimated 2 matches for "var_expand_context".
2006 Jul 19
2
[PATCH]
...ken from the start.
For login_log_format_elements there are also these variables:
--- dovecot-1.0.rc2/src/lib/var-expand.c 2006-04-12 09:39:32.000000000 +0200
+++ dovecot-1.0.rc2.mod/src/lib/var-expand.c 2006-07-19 19:35:25.821041184 +0200
@@ -11,7 +11,8 @@
#include <stdlib.h>
struct var_expand_context {
- unsigned int offset, width;
+ int offset;
+ unsigned int width;
};
struct var_expand_modifier {
@@ -109,6 +110,7 @@
const char *(*modifier[MAX_MODIFIER_COUNT])
(const char *, struct var_expand_context *);
unsigned int i, modifier_count;
+ int sign = 1;
bool zero_padding = FALSE;...
2006 Jul 24
2
[PATCH] Substitution of dots to ", dc=" in variable expansions
Hi list,
my ldap directory uses DNs like this:
uid=solist,ou=People,dc=solistland,dc=net,ou=Virtuals
but I only could use something like
uid=solist,ou=People,dc=solistland.net,ou=Virtuals
with dovecot, which obviously isn't what the dcObject object class was
meant to present.
I've written a small function for var-expand.c which introduces a new
modifier for string variable