~ubuntu-branches/ubuntu/dapper/clamav/dapper-security

« back to all changes in this revision

Viewing changes to libclamav/str.h

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2009-04-29 17:17:14 UTC
  • mfrom: (1.1.8 upstream) (0.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090429171714-9rb08pcxwl02e0bq
Tags: 0.94.dfsg.2-1ubuntu0.3~dapper2
No change rebuild from backports

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 *  Copyright (C) 2002 - 2005 Tomasz Kojm <tkojm@clamav.net>
 
2
 *  Copyright (C) 2007-2008 Sourcefire, Inc.
 
3
 *
 
4
 *  Authors: Tomasz Kojm, Nigel Horne, Török Edvin
3
5
 *
4
6
 *  This program is free software; you can redistribute it and/or modify
5
7
 *  it under the terms of the GNU General Public License version 2 as
23
25
 
24
26
#include "cltypes.h"
25
27
 
 
28
#ifdef HAVE_STRCASESTR
 
29
#define cli_strcasestr strcasestr
 
30
#else
 
31
const char *cli_strcasestr(const char *haystack, const char *needle);
 
32
#endif
 
33
 
26
34
int cli_strbcasestr(const char *haystack, const char *needle);
27
35
int cli_chomp(char *string);
28
36
char *cli_strtok(const char *line, int field, const char *delim);
35
43
const char *cli_memstr(const char *haystack, int hs, const char *needle, int ns);
36
44
char *cli_strrcpy(char *dest, const char *source);
37
45
void cli_strtokenize(char *buffer, const char delim, const size_t token_count, const char **tokens);
 
46
int cli_isnumber(const char *str);
 
47
char *cli_unescape(const char *str);
 
48
struct text_buffer;
 
49
int  cli_textbuffer_append_normalize(struct text_buffer *buf, const char *str, size_t len);
 
50
 
38
51
#endif