Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cstr.h « base « src - github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 39041266065bff41f4a7890350d706d9292ec34b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
 * \file   cstr.h
 * \brief  C string handling.
 * \author Copyright (c) 2002-2008 Jason Perkins and the Premake project
 *
 * \defgroup cstr C Strings
 * \ingroup  base
 *
 * Functions to handle C strings (zero-terminated byte arrays).
 *
 * @{
 */
#if !defined(PREMAKE_CSTR_H)
#define PREMAKE_CSTR_H

int   cstr_contains(const char* str, const char* expected);
int   cstr_ends_with(const char* str, const char* expected);
int   cstr_eq(const char* str, const char* expected);
int   cstr_eqi(const char* str, const char* expected);
char* cstr_format(const char* format, ...);
int   cstr_starts_with(const char* str, const char* expected);

#endif
/** @} */