summaryrefslogtreecommitdiff
path: root/lib/dbdict.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dbdict.h')
-rw-r--r--lib/dbdict.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dbdict.h b/lib/dbdict.h
index 94aab67..3b0398a 100644
--- a/lib/dbdict.h
+++ b/lib/dbdict.h
@@ -308,6 +308,8 @@ class cDbTableDef : public cDbService
}
const char* getName() { return name; }
+
+ int hasName(const char* n) { return strcasecmp(name, n) == 0; }
int fieldCount() { return dfields.size(); }
cDbFieldDef* getField(int id) { return _dfields[id]; }