Browse code

- Got rid of all the ~ at the beginning of functions that are not supposed to be called from scripts. It's a relict.

Jan Janak authored on 08/10/2003 13:07:21
Showing 2 changed files
... ...
@@ -34,31 +34,31 @@ db_func_t dbf;
34 34
 
35 35
 int bind_dbmod(void)
36 36
 {
37
-	db_use_table = (db_use_table_f)find_export("~db_use_table", 2, 0);
37
+	db_use_table = (db_use_table_f)find_export("db_use_table", 2, 0);
38 38
 	if (db_use_table == 0) return -1;
39 39
 
40
-	db_init = (db_init_f)find_export("~db_init", 1, 0);
40
+	db_init = (db_init_f)find_export("db_init", 1, 0);
41 41
 	if (db_init == 0) return -1;
42 42
 
43
-	db_close = (db_close_f)find_export("~db_close", 2, 0);
43
+	db_close = (db_close_f)find_export("db_close", 2, 0);
44 44
 	if (db_close == 0) return -1;
45 45
 
46
-	db_query = (db_query_f)find_export("~db_query", 2, 0);
46
+	db_query = (db_query_f)find_export("db_query", 2, 0);
47 47
 	if (db_query == 0) return -1;
48 48
 
49
-	db_raw_query = (db_raw_query_f)find_export("~db_raw_query", 2, 0);
49
+	db_raw_query = (db_raw_query_f)find_export("db_raw_query", 2, 0);
50 50
 	if (db_raw_query == 0) return -1;
51 51
 
52
-	db_free_query = (db_free_query_f)find_export("~db_free_query", 2, 0);
52
+	db_free_query = (db_free_query_f)find_export("db_free_query", 2, 0);
53 53
 	if (db_free_query == 0) return -1;
54 54
 
55
-	db_insert = (db_insert_f)find_export("~db_insert", 2, 0);
55
+	db_insert = (db_insert_f)find_export("db_insert", 2, 0);
56 56
 	if (db_insert == 0) return -1;
57 57
 
58
-	db_delete = (db_delete_f)find_export("~db_delete", 2, 0);
58
+	db_delete = (db_delete_f)find_export("db_delete", 2, 0);
59 59
 	if (db_delete == 0) return -1;
60 60
 
61
-	db_update = (db_update_f)find_export("~db_update", 2, 0);
61
+	db_update = (db_update_f)find_export("db_update", 2, 0);
62 62
 	if (db_update == 0) return -1;
63 63
 
64 64
 	return 0;
... ...
@@ -6458,12 +6458,10 @@ if (t_newtran()) {
6458 6458
 
6459 6459
 	    <important>
6460 6460
 		<para>
6461
-		    Usrloc is convenient module only. It's functions cannot
6462
-		    be called from scripts directly (hence the ~ at the 
6463
-		    beginning) but are used by registrar module internally.
6464
-		    This module will be utilized by more modules in the future
6465
-		    and therefore it is standalone. Use registrar module functions
6466
-		    if you need usrloc support in your scripts.
6461
+		    Usrloc is convenient module only. It's functions cannot be called from scripts
6462
+		    directly, but are used by registrar module internally.  This module will be
6463
+		    utilized by more modules in the future and therefore it is standalone. Use
6464
+		    registrar module functions if you need usrloc support in your scripts.
6467 6465
 		</para>
6468 6466
 	    </important>
6469 6467
 
... ...
@@ -6651,7 +6649,7 @@ if (t_newtran()) {
6651 6649
 		    <listitem>
6652 6650
 			<funcsynopsis>
6653 6651
 			    <funcprototype>
6654
-				<funcdef>int <function moreinfo="none">~ul_register_domain</function></funcdef>
6652
+				<funcdef>int <function moreinfo="none">ul_register_domain</function></funcdef>
6655 6653
 				<paramdef>const char* <parameter moreinfo="none">name</parameter></paramdef>
6656 6654
 			    </funcprototype>
6657 6655
 			</funcsynopsis>
... ...
@@ -6675,7 +6673,7 @@ if (t_newtran()) {
6675 6673
 		    <listitem>
6676 6674
 			<funcsynopsis>
6677 6675
 			    <funcprototype>
6678
-				<funcdef>int <function moreinfo="none">~ul_insert_urecord</function></funcdef>
6676
+				<funcdef>int <function moreinfo="none">ul_insert_urecord</function></funcdef>
6679 6677
 				<paramdef>udomain_t* <parameter moreinfo="none">domain</parameter></paramdef>
6680 6678
 				<paramdef>str* <parameter moreinfo="none">aor</parameter></paramdef>
6681 6679
 				<paramdef>urecord_t** <parameter moreinfo="none">rec</parameter></paramdef>
... ...
@@ -6703,7 +6701,7 @@ if (t_newtran()) {
6703 6701
 		    <listitem>
6704 6702
 			<funcsynopsis>
6705 6703
 			    <funcprototype>
6706
-				<funcdef>int <function moreinfo="none">~ul_delete_urecord</function></funcdef>
6704
+				<funcdef>int <function moreinfo="none">ul_delete_urecord</function></funcdef>
6707 6705
 				<paramdef>udomain_t* <parameter moreinfo="none">domain</parameter></paramdef>
6708 6706
 				<paramdef>str* <parameter moreinfo="none">aor</parameter></paramdef>
6709 6707
 			    </funcprototype>
... ...
@@ -6724,7 +6722,7 @@ if (t_newtran()) {
6724 6722
 		    <listitem>
6725 6723
 			<funcsynopsis>
6726 6724
 			    <funcprototype>
6727
-				<funcdef>int <function moreinfo="none">~ul_get_urecord</function></funcdef>
6725
+				<funcdef>int <function moreinfo="none">ul_get_urecord</function></funcdef>
6728 6726
 				<paramdef>udomain_t* <parameter moreinfo="none">domain</parameter></paramdef>
6729 6727
 				<paramdef>str* <parameter moreinfo="none">aor</parameter></paramdef>
6730 6728
 			    </funcprototype>
... ...
@@ -6744,7 +6742,7 @@ if (t_newtran()) {
6744 6742
 		    <listitem>
6745 6743
 			<funcsynopsis>
6746 6744
 			    <funcprototype>
6747
-				<funcdef>int <function moreinfo="none">~ul_lock_udomain</function></funcdef>
6745
+				<funcdef>int <function moreinfo="none">ul_lock_udomain</function></funcdef>
6748 6746
 				<paramdef>udomain_t* <parameter moreinfo="none">domain</parameter></paramdef>
6749 6747
 			    </funcprototype>
6750 6748
 			</funcsynopsis>
... ...
@@ -6763,7 +6761,7 @@ if (t_newtran()) {
6763 6761
 		    <listitem>
6764 6762
 			<funcsynopsis>
6765 6763
 			    <funcprototype>
6766
-				<funcdef>int <function moreinfo="none">~ul_unlock_udomain</function></funcdef>
6764
+				<funcdef>int <function moreinfo="none">ul_unlock_udomain</function></funcdef>
6767 6765
 				<paramdef>udomain_t* <parameter moreinfo="none">domain</parameter></paramdef>
6768 6766
 			    </funcprototype>
6769 6767
 			</funcsynopsis>
... ...
@@ -6778,7 +6776,7 @@ if (t_newtran()) {
6778 6776
 		    <listitem>
6779 6777
 			<funcsynopsis>
6780 6778
 			    <funcprototype>
6781
-				<funcdef>int <function moreinfo="none">~ul_release_urecord</function></funcdef>
6779
+				<funcdef>int <function moreinfo="none">ul_release_urecord</function></funcdef>
6782 6780
 				<paramdef>urecord_t* <parameter moreinfo="none">record</parameter></paramdef>
6783 6781
 			    </funcprototype>
6784 6782
 			</funcsynopsis>
... ...
@@ -6795,7 +6793,7 @@ if (t_newtran()) {
6795 6793
 		    <listitem>
6796 6794
 			<funcsynopsis>
6797 6795
 			    <funcprototype>
6798
-				<funcdef>int <function moreinfo="none">~ul_insert_ucontact</function></funcdef>
6796
+				<funcdef>int <function moreinfo="none">ul_insert_ucontact</function></funcdef>
6799 6797
 				<paramdef>urecord_t* <parameter moreinfo="none">record</parameter></paramdef>
6800 6798
 				<paramdef>str* <parameter moreinfo="none">contact</parameter></paramdef>
6801 6799
 				<paramdef>time_t <parameter moreinfo="none">expires</parameter></paramdef>
... ...
@@ -6835,7 +6833,7 @@ if (t_newtran()) {
6835 6833
 		    <listitem>
6836 6834
 			<funcsynopsis>
6837 6835
 			    <funcprototype>
6838
-				<funcdef>int <function moreinfo="none">~ul_delete_ucontact</function></funcdef>
6836
+				<funcdef>int <function moreinfo="none">ul_delete_ucontact</function></funcdef>
6839 6837
 				<paramdef>urecord_t* <parameter moreinfo="none">record</parameter></paramdef>
6840 6838
 				<paramdef>ucontact_t* <parameter moreinfo="none">contact</parameter></paramdef>
6841 6839
 			    </funcprototype>
... ...
@@ -6855,7 +6853,7 @@ if (t_newtran()) {
6855 6853
 		    <listitem>
6856 6854
 			<funcsynopsis>
6857 6855
 			    <funcprototype>
6858
-				<funcdef>int <function moreinfo="none">~ul_get_ucontact</function></funcdef>
6856
+				<funcdef>int <function moreinfo="none">ul_get_ucontact</function></funcdef>
6859 6857
 				<paramdef>urecord_t* <parameter moreinfo="none">record</parameter></paramdef>
6860 6858
 				<paramdef>str* <parameter moreinfo="none">contact</parameter></paramdef>
6861 6859
 			    </funcprototype>
... ...
@@ -6876,7 +6874,7 @@ if (t_newtran()) {
6876 6874
 		    <listitem>
6877 6875
 			<funcsynopsis>
6878 6876
 			    <funcprototype>
6879
-				<funcdef>int <function moreinfo="none">~ul_update_ucontact</function></funcdef>
6877
+				<funcdef>int <function moreinfo="none">ul_update_ucontact</function></funcdef>
6880 6878
 				<paramdef>ucontact_t* <parameter moreinfo="none">contact</parameter></paramdef>
6881 6879
 				<paramdef>time_t <parameter moreinfo="none">expires</parameter></paramdef>
6882 6880
 				<paramdef>float <parameter moreinfo="none">q</parameter></paramdef>