/
githubmirror
/
libuser
Обзор
Документация
Войти
/
githubmirror
/
libuser
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
apps/apputil.h
36 строк
1 KB
Miloslav Trmač
Make most of apputil.h a public API
25 окт 2012, 00:06
25 окт 2012, 00:06
3845171
Код
Авторство
О чём код?
/* * Copyright (C) 2000-2002 Red Hat, Inc. * * This is free software; you can redistribute it and/or modify it under * the terms of the GNU Library General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef apputil_h #define apputil_h #include <sys/types.h> #include "../lib/user.h" #ifndef _ #define _(String) gettext(String) #endif #ifndef N_ #define N_(String) (String) #endif void lu_authenticate_unprivileged(struct lu_context *ctx, const char *user, const char *appname) G_GNUC_INTERNAL; #endif