summaryrefslogtreecommitdiff
path: root/src/htswrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/htswrap.c')
-rw-r--r--src/htswrap.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/htswrap.c b/src/htswrap.c
index b6cebbf..59920e0 100644
--- a/src/htswrap.c
+++ b/src/htswrap.c
@@ -17,18 +17,15 @@ 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.
-
Important notes:
- We hereby ask people using this source NOT to use it in purpose of grabbing
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: httrack.c subroutines: */
/* wrapper system (for shell */
@@ -43,19 +40,20 @@ Please visit our Website: http://www.httrack.com
#include "htsinthash.h"
#include "htslib.h"
-HTSEXT_API int htswrap_init(void) { // LEGACY
+HTSEXT_API int htswrap_init(void) { // LEGACY
return 1;
}
-HTSEXT_API int htswrap_free(void) { // LEGACY
+HTSEXT_API int htswrap_free(void) { // LEGACY
return 1;
}
-HTSEXT_API int htswrap_add(httrackp *opt, const char* name,void* fct) {
- return hts_set_callback((t_hts_htmlcheck_callbacks*)opt->callbacks_fun, name, fct);
+HTSEXT_API int htswrap_add(httrackp * opt, const char *name, void *fct) {
+ return hts_set_callback((t_hts_htmlcheck_callbacks *) opt->callbacks_fun,
+ name, fct);
}
-HTSEXT_API uintptr_t htswrap_read(httrackp *opt, const char* name) {
- return (uintptr_t) hts_get_callback((t_hts_htmlcheck_callbacks*)opt->callbacks_fun, name);
+HTSEXT_API uintptr_t htswrap_read(httrackp * opt, const char *name) {
+ return (uintptr_t) hts_get_callback((t_hts_htmlcheck_callbacks *) opt->
+ callbacks_fun, name);
}
-