negcache_files.h revision e7ccfb139388c947ec2dee16cfe3005f5643b90d
5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294Timo Sirainen/*
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen SSSD
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen NSS Responder
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen
00bf64c70c231f647c12c2fd49925ef73cb07f07Timo Sirainen Copyright (C) Petr Čech <pcech@redhat.com> 2016
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen This program is free software; you can redistribute it and/or modify
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen it under the terms of the GNU General Public License as published by
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen the Free Software Foundation; either version 3 of the License, or
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen (at your option) any later version.
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen This program is distributed in the hope that it will be useful,
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen but WITHOUT ANY WARRANTY; without even the implied warranty of
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen GNU General Public License for more details.
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen You should have received a copy of the GNU General Public License
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen along with this program. If not, see <http://www.gnu.org/licenses/>.
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen*/
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen#ifndef _NEGCACHE_FILES_H_
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen#define _NEGCACHE_FILES_H_
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainenbool is_user_local_by_name(const char *name);
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainenbool is_user_local_by_uid(uid_t uid);
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainenbool is_group_local_by_name(const char *name);
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainenbool is_group_local_by_gid(uid_t gid);
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen#endif /* _NEGCACHE_FILES_H_ */
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainen