Browse code

core: renamed pvapi_init.h to pvapi.h

Daniel-Constantin Mierla authored on 15/07/2011 13:43:35
Showing 4 changed files
... ...
@@ -186,7 +186,7 @@
186 186
 #include "cfg_core.h"
187 187
 #include "endianness.h" /* init */
188 188
 #include "basex.h" /* init */
189
-#include "pvapi_init.h" /* init */
189
+#include "pvapi.h" /* init PV api */
190 190
 #include "pv_core.h" /* register core pvars */
191 191
 #include "ppcfg.h"
192 192
 #include "sock_ut.h"
... ...
@@ -39,7 +39,7 @@
39 39
 #include "dprint.h"
40 40
 #include "hashes.h"
41 41
 #include "route.h"
42
-#include "pvapi_init.h"
42
+#include "pvapi.h"
43 43
 #include "pvar.h"
44 44
 
45 45
 #define is_in_str(p, in) (p<in->s+in->len && *p)
46 46
new file mode 100644
... ...
@@ -0,0 +1,30 @@
0
+/* 
1
+ * $Id$
2
+ * 
3
+ * Copyright (C) 2009 iptelorg GmbH
4
+ *
5
+ * Permission to use, copy, modify, and distribute this software for any
6
+ * purpose with or without fee is hereby granted, provided that the above
7
+ * copyright notice and this permission notice appear in all copies.
8
+ *
9
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16
+ */
17
+/*
18
+ * pvapi.h - pvapi init and destroy functions.
19
+ */
20
+
21
+#ifndef __pvapi_h__
22
+#define __pvapi_h__
23
+
24
+int init_pv_api(void);
25
+void destroy_pv_api(void);
26
+
27
+#endif /*__pvapi_h_*/
28
+
29
+/* vi: set ts=4 sw=4 tw=79:ai:cindent: */
0 30
deleted file mode 100644
... ...
@@ -1,31 +0,0 @@
1
-/* 
2
- * $Id$
3
- * 
4
- * Copyright (C) 2009 iptelorg GmbH
5
- *
6
- * Permission to use, copy, modify, and distribute this software for any
7
- * purpose with or without fee is hereby granted, provided that the above
8
- * copyright notice and this permission notice appear in all copies.
9
- *
10
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17
- */
18
-/*
19
- * pvapi_init.h - pvapi init and destroy functions.
20
- */
21
-
22
-#ifndef __pvapi_init_h
23
-#define __pvapi_init_h
24
-
25
-int init_pv_api(void);
26
-void destroy_pv_api(void);
27
-
28
-
29
-#endif /*__pvapi_init_h*/
30
-
31
-/* vi: set ts=4 sw=4 tw=79:ai:cindent: */