summaryrefslogtreecommitdiff
path: root/xpp/xpd.h
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-09-05 00:11:47 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-09-05 00:11:47 +0000
commit47a482419ec58a2dc37f9d5eb036554e8e35b59e (patch)
treef3926c95569abbe68a9684084bf39e1b3cb5c9f4 /xpp/xpd.h
parentaa009acab2b144e47af7fcfad1f19b8fbfbd490c (diff)
SPAN_REGISTERED() should not rely on zaptel ZT_FLAG_REGISTERED since
zaptel set it before registration is finished. (right: xpp needs to replicate zaptel's bookkeeping here). git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1397 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/xpd.h')
-rw-r--r--xpp/xpd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xpp/xpd.h b/xpp/xpd.h
index da4eba8..f8d60ea 100644
--- a/xpp/xpd.h
+++ b/xpp/xpd.h
@@ -264,6 +264,7 @@ struct xpd {
xbus_t *xbus; /* The XBUS we are connected to */
spinlock_t lock;
+ atomic_t zt_registered; /* Am I fully registered with zaptel */
atomic_t open_counter; /* Number of open channels */
int flags;