/* -*- Mode: C ; c-basic-offset: 2 -*- */ /* * LADI Session Handler (ladish) * * Copyright (C) 2009 Nedko Arnaudov * ************************************************************************** * This file contains stuff that is needed almost everywhere in ladish ************************************************************************** * * LADI Session Handler is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * LADI Session Handler 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 General Public License * along with LADI Session Handler. If not, see * or write to the Free Software Foundation, Inc., * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef COMMON_H__82C9504A_ACD2_435D_9743_781943473E6A__INCLUDED #define COMMON_H__82C9504A_ACD2_435D_9743_781943473E6A__INCLUDED #include "config.h" /* configure stage result */ #include /* C99 bool */ #include /* fixed bit size ints */ #include #include #include #include #ifndef __cplusplus #include "common/klist.h" #endif #include "log.h" /* log macros */ #include "assert.h" /* assert macros */ #define ladish_max(a, b) ((a) > (b) ? (a) : (b)) #define ladish_min(a, b) ((a) < (b) ? (a) : (b)) #endif /* #ifndef COMMON_H__82C9504A_ACD2_435D_9743_781943473E6A__INCLUDED */