[sr-dev] git:master: lib/srdb1: added the ability to use bitwise-and in DB queries
Peter Dunkley
peter.dunkley at crocodile-rcs.com
Wed Oct 19 13:55:26 CEST 2011
Module: sip-router
Branch: master
Commit: 659fe4b6aef276f6925e1ba08b6e61ca40e838d3
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=659fe4b6aef276f6925e1ba08b6e61ca40e838d3
Author: pd <peter.dunkley at crocodile-rcs.com>
Committer: pd <peter.dunkley at crocodile-rcs.com>
Date: Wed Oct 19 11:58:43 2011 +0100
lib/srdb1: added the ability to use bitwise-and in DB queries
- This is used in the changes to add db only mode to pua
- This enhancement was made by Paul Pankhurst at Crocodile RCS
---
lib/srdb1/db_op.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/srdb1/db_op.h b/lib/srdb1/db_op.h
index 10ee44a..b2d04dd 100644
--- a/lib/srdb1/db_op.h
+++ b/lib/srdb1/db_op.h
@@ -42,6 +42,8 @@
#define OP_GEQ ">="
/** operator negation */
#define OP_NEQ "!="
+/** bitise AND */
+#define OP_BITWISE_AND "&"
/**
More information about the sr-dev
mailing list