浏览代码

http_client Rename include file

Olle E. Johansson 9 年之前
父节点
当前提交
78712dfc77

+ 22 - 0
modules/http_client/curl_api.c

@@ -1,5 +1,27 @@
+/*
+ * Copyright (C) 2015 Hugh Waite
+ *
+ * This file is part of Kamailio, a free SIP server.
+ *
+ * Kamailio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version
+ *      
+ * Kamailio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ *
+ */
+
 #include "functions.h"
 #include "curl_api.h"
+
 int bind_curl_api(curl_api_t *api)
 {
 	if (!api) {

+ 3 - 3
modules/http_client/curl_api.h

@@ -21,9 +21,9 @@
 
 /*!
  * \file
- * \brief Kamailio curl :: Core API include file
- * \ingroup curl
- * Module: \ref curl
+ * \brief Kamailio http_client :: Core API include file
+ * \ingroup http_client
+ * Module: \ref http_client
  */
 #ifndef _CURL_API_H_
 #define _CURL_API_H_

+ 3 - 3
modules/http_client/curlcon.c

@@ -22,8 +22,8 @@
  */
 
 /*! \file
- * \brief  Kamailio curl :: Connectoin handling
- * \ingroup curl
+ * \brief  Kamailio http_client :: Connectoin handling
+ * \ingroup http_client
  */
 
 #include <curl/curl.h>
@@ -32,7 +32,7 @@
 #include "../../dprint.h"
 #include "../../parser/parse_param.h"
 #include "../../usr_avp.h"
-#include "curl.h"
+#include "http_client.h"
 #include "curlcon.h"
 
 #define KEYVALUE_TYPE_NONE	0

+ 4 - 4
modules/http_client/curlcon.h

@@ -23,12 +23,12 @@
 
 /*!
  * \file
- * \brief Kamailio curl :: Connection handler include file
- * \ingroup curl
- * Module: \ref curl
+ * \brief Kamailio http_client :: Connection handler include file
+ * \ingroup http_client
+ * Module: \ref http_client
  */
 
-#include "curl.h"
+#include "http_client.h"
 
 #ifndef CURLCON_H
 #define CURLCON_H

+ 3 - 3
modules/http_client/curlrpc.c

@@ -21,14 +21,14 @@
 
 
 /*! \file
- * \brief  Kamailio curl :: RPC functions
- * \ingroup curl
+ * \brief  Kamailio http_client :: RPC functions
+ * \ingroup http_client
  */
 
 #include "../../dprint.h"
 #include "../../rpc.h"
 #include "../../rpc_lookup.h"
-#include "curl.h"
+#include "http_client.h"
 #include "curlcon.h"
 
 

+ 1 - 1
modules/http_client/curlrpc.h

@@ -18,7 +18,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
-#include "curl.h"
+#include "http_client.h"
 #include "curlcon.h"
 #include "../../dprint.h"
 #include "../../rpc.h"

+ 5 - 5
modules/http_client/functions.c

@@ -1,5 +1,5 @@
 /*
- * script functions of curl module
+ * script functions of http_client module
  *
  * Copyright (C) 2015 Olle E. Johansson, Edvina AB
  *
@@ -27,9 +27,9 @@
 
 /*!
  * \file
- * \brief Kamailio curl :: script functions
- * \ingroup curl
- * Module: \ref curl
+ * \brief Kamailio http_client :: script functions
+ * \ingroup http_client
+ * Module: \ref http_client
  */
 
 
@@ -42,7 +42,7 @@
 #include "../../mem/mem.h"
 #include "../../parser/msg_parser.h"
 
-#include "curl.h"
+#include "http_client.h"
 #include "curlcon.h"
 
 

+ 4 - 4
modules/http_client/functions.h

@@ -1,5 +1,5 @@
 /*
- * headers of script functions of curl module
+ * headers of script functions of http_client module
  *
  * Copyright (C) 2008 Juha Heinanen
  * Copyright (C) 2013 Carsten Bock, ng-voice GmbH
@@ -24,9 +24,9 @@
 
 /*!
  * \file
- * \brief Kamailio curl :: script functions include file
- * \ingroup curl
- * Module: \ref curl
+ * \brief Kamailio http_client :: script functions include file
+ * \ingroup http_client
+ * Module: \ref http_client
  */
 
 

+ 4 - 4
modules/http_client/curl.h → modules/http_client/http_client.h

@@ -1,5 +1,5 @@
 /*
- * header file of curl.c
+ * header file of http_client.c
  *
  * Copyright (C) 2008 Juha Heinanen
  *
@@ -23,9 +23,9 @@
 
 /*!
  * \file
- * \brief Kamailio curl :: Core include file
- * \ingroup curl
- * Module: \ref curl
+ * \brief Kamailio http_client :: Core include file
+ * \ingroup http_client
+ * Module: \ref http_client
  */
 
 #ifndef CURL_H