summaryrefslogtreecommitdiff
path: root/src/htscatchurl.h
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-09-13 15:54:23 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-09-13 15:54:23 +0000
commit60644a7309e8c5de3f1f8202f0fd1545ad1c67e3 (patch)
treed3f20b6e96dc8d1032409589cffae3060c3dd9f5 /src/htscatchurl.h
parentafea93461d67750fe0a882520f18c37d7d924756 (diff)
Fixed FSF GPL reference (postal address removed, added website)
Fixed year notice
Diffstat (limited to 'src/htscatchurl.h')
-rw-r--r--src/htscatchurl.h32
1 files changed, 13 insertions, 19 deletions
diff --git a/src/htscatchurl.h b/src/htscatchurl.h
index 623babf..e0d8a4d 100644
--- a/src/htscatchurl.h
+++ b/src/htscatchurl.h
@@ -1,12 +1,12 @@
/* ------------------------------------------------------------ */
/*
HTTrack Website Copier, Offline Browser for Windows and Unix
-Copyright (C) Xavier Roche and other contributors
+Copyright (C) 1998-2013 Xavier Roche and other contributors
-This program 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 3
-of the License, or any later version.
+This program 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 3 of the License, or
+(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -14,9 +14,7 @@ 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
+along with this program. If not, see <http://www.gnu.org/licenses/>.
Important notes:
@@ -24,11 +22,9 @@ Important notes:
emails addresses, or collecting any other private information on persons.
This would disgrace our work, and spoil the many hours we spent on it.
-
Please visit our Website: http://www.httrack.com
*/
-
/* ------------------------------------------------------------ */
/* File: URL catch .h */
/* Author: Xavier Roche */
@@ -37,7 +33,7 @@ Please visit our Website: http://www.httrack.com
// Fichier intercepteur d'URL .h
#ifndef HTS_CATCHURL_DEFH
-#define HTS_CATCHURL_DEFH
+#define HTS_CATCHURL_DEFH
#include "htsbasenet.h"
@@ -45,11 +41,12 @@ Please visit our Website: http://www.httrack.com
#ifdef HTS_INTERNAL_BYTECODE
// Fonctions
-void socinput(T_SOC soc,char* s,int max);
+void socinput(T_SOC soc, char *s, int max);
+
#ifndef HTTRACK_DEFLIB
-HTSEXT_API T_SOC catch_url_init_std(int* port_prox,char* adr_prox);
-HTSEXT_API T_SOC catch_url_init(int* port,char* adr);
-HTSEXT_API int catch_url(T_SOC soc,char* url,char* method,char* data);
+HTSEXT_API T_SOC catch_url_init_std(int *port_prox, char *adr_prox);
+HTSEXT_API T_SOC catch_url_init(int *port, char *adr);
+HTSEXT_API int catch_url(T_SOC soc, char *url, char *method, char *data);
#endif
#define CATCH_RESPONSE \
@@ -74,10 +71,7 @@ HTSEXT_API int catch_url(T_SOC soc,char* url,char* method,char* data);
"</BODY></HTML>"\
"<!-- Generated by HTTrack Website Copier -->\r\n"\
"\r\n"\
-
-#endif
#endif
-
-
+#endif