~ubuntu-branches/ubuntu/wily/dovecot/wily

« back to all changes in this revision

Viewing changes to src/lib/strfuncs.h

  • Committer: Package Import Robot
  • Author(s): Jelmer Vernooij
  • Date: 2015-05-24 15:01:19 UTC
  • mto: (4.1.53 sid)
  • mto: This revision was merged to the branch mainline in revision 102.
  • Revision ID: package-import@ubuntu.com-20150524150119-hsh6cbr1fqseapga
Tags: upstream-2.2.18
ImportĀ upstreamĀ versionĀ 2.2.18

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
/* Like t_strdup(), but stop at cutchar. */
43
43
const char *t_strcut(const char *str, char cutchar);
 
44
/* Replace all from->to chars in the string. */
 
45
const char *t_str_replace(const char *str, char from, char to);
44
46
 
45
47
/* Like strlcpy(), but return -1 if buffer was overflown, 0 if not. */
46
48
int i_strocpy(char *dest, const char *src, size_t dstsize);