5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose/*
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose SSSD
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose SSS client - private calls
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose Authors:
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose Sumit Bose <sbose@redhat.com>
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose Copyright (C) 2017 Red Hat
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose This program is free software; you can redistribute it and/or modify
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose it under the terms of the GNU General Public License as published by
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose the Free Software Foundation; either version 3 of the License, or
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose (at your option) any later version.
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose This program is distributed in the hope that it will be useful,
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose but WITHOUT ANY WARRANTY; without even the implied warranty of
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose GNU General Public License for more details.
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose You should have received a copy of the GNU General Public License
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose along with this program. If not, see <http://www.gnu.org/licenses/>.
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose*/
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose#ifndef COMMON_PRIVATE_H_
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose#define COMMON_PRIVATE_H_
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose#include "config.h"
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose#if HAVE_PTHREAD
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose#include <pthread.h>
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bosestruct sss_mutex {
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose pthread_mutex_t mtx;
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose int old_cancel_state;
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose};
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose#endif /* HAVE_PTHREAD */
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose
5e6622722e84d594298a8324f3685a1bda2b5868Sumit Bose#endif /* COMMON_PRIVATE_H_ */