From 914f82571b65ffb41618b35ed6583a74a4498777 Mon Sep 17 00:00:00 2001 From: "jgellman%netscape.com" Date: Wed, 7 Oct 1998 23:05:10 +0000 Subject: [PATCH] add rdfstr.h git-svn-id: svn://10.0.0.236/branches/RDF_XPCOM_BRANCH@12236 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/modules/rdf/src/rdfstr.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 mozilla/modules/rdf/src/rdfstr.h diff --git a/mozilla/modules/rdf/src/rdfstr.h b/mozilla/modules/rdf/src/rdfstr.h new file mode 100644 index 00000000000..81832d45530 --- /dev/null +++ b/mozilla/modules/rdf/src/rdfstr.h @@ -0,0 +1,32 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * The contents of this file are subject to the Netscape Public License + * Version 1.0 (the "NPL"); you may not use this file except in + * compliance with the NPL. You may obtain a copy of the NPL at + * http://www.mozilla.org/NPL/ + * + * Software distributed under the NPL is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL + * for the specific language governing rights and limitations under the + * NPL. + * + * The Initial Developer of this code under the NPL is Netscape + * Communications Corporation. Portions created by Netscape are + * Copyright (C) 1998 Netscape Communications Corporation. All Rights + * Reserved. + */ + +#include "plstr.h" + +#define RDF_STRLEN(s) PL_strlen((s)) +#define RDF_STRCMP(s1,s2) PL_strcmp((s1),(s2)) + +/* #define RDF_STRDUP(s) PL_strdup((s)) evil? */ + +#define RDF_STRCHR(s,c) PL_strchr((s),(c)) +#define RDF_STRRCHR(s,c) PL_strrchr((s),(c)) +#define RDF_STRCAT(dest,src) PL_strcat((dest),(src)) +#define RDF_STRCASECMP(s1,s2) PL_strcasecmp((s1),(s2)) +#define RDF_STRNCASECMP(s1,s2,n) PL_strncasecmp((s1),(s2),(n)) +#define RDF_STRCASESTR(s1,s2) PL_strcasestr((s1),(s2)) +