Mercurial > dovecot > core-2.2
comparison src/lib/strescape.h @ 6410:e4eb71ae8e96 HEAD
Changed .h ifdef/defines to use <NAME>_H format.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 16 Sep 2007 11:31:27 +0300 |
parents | ae229b7acb4c |
children | 2dcf2f313329 |
comparison
equal
deleted
inserted
replaced
6409:7f733ba453bf | 6410:e4eb71ae8e96 |
---|---|
1 #ifndef __STRESCAPE_H | 1 #ifndef STRESCAPE_H |
2 #define __STRESCAPE_H | 2 #define STRESCAPE_H |
3 | 3 |
4 #define IS_ESCAPED_CHAR(c) ((c) == '"' || (c) == '\\' || (c) == '\'') | 4 #define IS_ESCAPED_CHAR(c) ((c) == '"' || (c) == '\\' || (c) == '\'') |
5 | 5 |
6 /* escape all '\', '"' and "'" characters */ | 6 /* escape all '\', '"' and "'" characters */ |
7 const char *str_escape(const char *str); | 7 const char *str_escape(const char *str); |