00001 #ifndef apputil_h
00002 #define apputil_h
00003
00004 #include <sys/types.h>
00005 #include "../include/libuser/user.h"
00006
00007 #define _(String) gettext(String)
00008
00009 gboolean lu_homedir_populate(const char *skel, const char *directory, uid_t owner, gid_t group, mode_t mode,
00010 struct lu_error **error);
00011 gboolean lu_homedir_move(const char *oldhome, const char *directory, struct lu_error **error);
00012 gboolean lu_homedir_remove(const char *directory, struct lu_error **error);
00013 void lu_authenticate_unprivileged(struct lu_context *ctx, const char *user, const char *appname);
00014 void lu_hup_nscd(void);
00015
00016 #endif