summaryrefslogtreecommitdiffstats
path: root/src/format.h
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@dahyabhai.net>2012-01-06 15:42:33 -0500
committerNalin Dahyabhai <nalin@dahyabhai.net>2012-01-06 15:42:33 -0500
commit80c8021ef1dcf911c170dc7917b1de9087b0b8e0 (patch)
tree70a037e20a2093c5fc54d4c5335511954e16f126 /src/format.h
parentd361fe8707d3558a9bad59c61b1f124d2de17772 (diff)
downloadslapi-nis-80c8021ef1dcf911c170dc7917b1de9087b0b8e0.tar.gz
slapi-nis-80c8021ef1dcf911c170dc7917b1de9087b0b8e0.tar.xz
slapi-nis-80c8021ef1dcf911c170dc7917b1de9087b0b8e0.zip
- Make a note of which attributes we read from any entry when evaluating data, and when we're later called for a modify request which doesn't modify any of those attributes, skip recalculating the entry contents (should make a dent in #771493).
Diffstat (limited to 'src/format.h')
-rw-r--r--src/format.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/format.h b/src/format.h
index b5dbf3e..ff3edda 100644
--- a/src/format.h
+++ b/src/format.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2008,2010,2011 Red Hat, Inc.
+ * Copyright 2008,2010,2011,2012 Red Hat, Inc.
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -58,6 +58,7 @@ char *format_get_data(struct plugin_state *state, struct slapi_entry *e,
const char *domain, const char *map,
const char *fmt,
const char *disallowed_chars,
+ char ***rel_attrs,
char ***ref_attrs,
struct format_inref_attr ***inref_attrs,
struct format_ref_attr_list ***ref_attr_list,
@@ -68,6 +69,7 @@ char **format_get_data_set(struct plugin_state *state, Slapi_Entry *e,
const char *domain, const char *map,
const char *fmt,
const char *disallowed,
+ char ***rel_attrs,
char ***ref_attrs,
struct format_inref_attr ***inref_attrs,
struct format_ref_attr_list ***ref_attr_list,