Browse code

- make nr_branches accessible

Jan Janak authored on 01/02/2005 13:21:09
Showing 2 changed files
... ...
@@ -68,7 +68,7 @@ struct branch
68 68
 static struct branch branches[MAX_BRANCHES - 1];
69 69
 
70 70
 /* how many of them we have */
71
-static unsigned int nr_branches = 0;
71
+unsigned int nr_branches = 0;
72 72
 
73 73
 /* branch iterator */
74 74
 static int branch_iterator = 0;
... ...
@@ -32,6 +32,9 @@
32 32
 
33 33
 struct sip_msg;
34 34
 
35
+extern unsigned int nr_branches;
36
+
37
+
35 38
 /* 
36 39
  * Add a new branch to current transaction 
37 40
  */