svn commit: samba r17506 - in branches/SOC/mkhl/ldb-map/modules: .
mkhl at samba.org
mkhl at samba.org
Sat Aug 12 15:52:56 GMT 2006
Author: mkhl
Date: 2006-08-12 15:52:56 +0000 (Sat, 12 Aug 2006)
New Revision: 17506
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17506
Log:
Reformat function prototypes.
Tabify.
Martin
Modified:
branches/SOC/mkhl/ldb-map/modules/ldb_map.h
Changeset:
Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.h
===================================================================
--- branches/SOC/mkhl/ldb-map/modules/ldb_map.h 2006-08-12 15:22:58 UTC (rev 17505)
+++ branches/SOC/mkhl/ldb-map/modules/ldb_map.h 2006-08-12 15:52:56 UTC (rev 17506)
@@ -68,10 +68,7 @@
} type;
/* if set, will be called for search expressions that contain this attribute */
- struct ldb_parse_tree *(*convert_operator) (
- const struct ldb_map_context *,
- TALLOC_CTX *ctx,
- const struct ldb_parse_tree *);
+ struct ldb_parse_tree *(*convert_operator)(const struct ldb_map_context *, TALLOC_CTX *ctx, const struct ldb_parse_tree *);
union {
struct {
@@ -82,29 +79,20 @@
const char *remote_name;
/* Convert local to remote data */
- ldb_map_convert_func convert_local;
+ ldb_map_convert_func convert_local;
/* Convert remote to local data */
/* an entry can have convert_remote set to NULL, as long as there as an entry with the same local_name
* that is non-NULL before it. */
- ldb_map_convert_func convert_remote;
+ ldb_map_convert_func convert_remote;
} convert;
struct {
/* Generate the local attribute from remote message */
- struct ldb_message_element *(*generate_local) (
- struct ldb_module *,
- TALLOC_CTX *mem_ctx,
- const char *remote_attr,
- const struct ldb_message *remote);
+ struct ldb_message_element *(*generate_local)(struct ldb_module *, TALLOC_CTX *mem_ctx, const char *remote_attr, const struct ldb_message *remote);
/* Update remote message with information from local message */
- void (*generate_remote) (
- struct ldb_module *,
- const char *local_attr,
- const struct ldb_message *old,
- struct ldb_message *remote,
- struct ldb_message *local);
+ void (*generate_remote)(struct ldb_module *, const char *local_attr, const struct ldb_message *old, struct ldb_message *remote, struct ldb_message *local);
/* Name(s) for this attribute on the remote server. This is an array since
* one local attribute's data can be split up into several attributes
More information about the samba-cvs
mailing list