git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4d5d0e
)
allow "struct TDB_DATA" as well as just "TDB_DATA"
author
Andrew Tridgell
<tridge@samba.org>
Thu, 1 Apr 2004 07:39:04 +0000
(07:39 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 1 Apr 2004 07:39:04 +0000
(07:39 +0000)
in general I prefer the struct form for Samba4 structures. I think its
clearer.
source/lib/tdb/tdb.h
patch
|
blob
|
history
diff --git
a/source/lib/tdb/tdb.h
b/source/lib/tdb/tdb.h
index 169de5f87d548c42b9f421cc84a0bbbebf461ba2..281925068c8a93c5ed0b9658299c46d637830659 100644
(file)
--- a/
source/lib/tdb/tdb.h
+++ b/
source/lib/tdb/tdb.h
@@
-57,7
+57,7
@@
enum TDB_ERROR {TDB_SUCCESS=0, TDB_ERR_CORRUPT, TDB_ERR_IO, TDB_ERR_LOCK,
#define u32 unsigned
#endif
-typedef struct {
+typedef struct
TDB_DATA
{
char *dptr;
size_t dsize;
} TDB_DATA;