~ubuntu-branches/ubuntu/quantal/curl/quantal-updates

« back to all changes in this revision

Viewing changes to lib/strequal.h

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Schuldei
  • Date: 2009-04-02 23:35:45 UTC
  • mto: (1.2.1 upstream) (3.2.3 sid)
  • mto: This revision was merged to the branch mainline in revision 38.
  • Revision ID: james.westby@ubuntu.com-20090402233545-geixkwhe3izccjt7
Tags: upstream-7.19.4
ImportĀ upstreamĀ versionĀ 7.19.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 *                            | (__| |_| |  _ <| |___
8
8
 *                             \___|\___/|_| \_\_____|
9
9
 *
10
 
 * Copyright (C) 1998 - 2005, Daniel Stenberg, <daniel@haxx.se>, et al.
 
10
 * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
11
11
 *
12
12
 * This software is licensed as described in the file COPYING, which
13
13
 * you should have received as part of this distribution. The terms
20
20
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21
21
 * KIND, either express or implied.
22
22
 *
23
 
 * $Id: strequal.h,v 1.17 2005/04/22 20:48:07 bagder Exp $
 
23
 * $Id: strequal.h,v 1.22 2008-10-23 11:49:19 bagder Exp $
24
24
 ***************************************************************************/
25
25
 
26
26
#include <curl/curl.h>
28
28
#define strequal(a,b) curl_strequal(a,b)
29
29
#define strnequal(a,b,c) curl_strnequal(a,b,c)
30
30
 
31
 
/* checkprefix() is a shorter version of the above, used when the first
32
 
   argument is zero-byte terminated */
33
 
#define checkprefix(a,b)    strnequal(a,b,strlen(a))
34
 
 
35
 
/* case insensitive strstr() */
36
 
char *Curl_strcasestr(const char *haystack, const char *needle);
37
 
 
38
31
#ifndef HAVE_STRLCAT
39
32
#define strlcat(x,y,z) Curl_strlcat(x,y,z)
40
33
#endif