Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib/home-expand.h @ 4984:0caa09cc3edb HEAD
Added home_try_expand()
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 04 Jan 2007 00:38:27 +0200 |
parents | 058f6c26f405 |
children | 284f2994ea5f |
line wrap: on
line source
#ifndef __HOME_EXPAND_H #define __HOME_EXPAND_H /* expand ~/ or ~user/ in beginning of path. If user is unknown, the original path is returned without modification. */ const char *home_expand(const char *path); /* Returns 0 if ok, -1 if user wasn't found. */ int home_try_expand(const char **path); #endif