flatstore_mod.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. * $Id$
  3. *
  4. * Copyright (C) 2004 FhG Fokus
  5. * Copyright (C) 2008 iptelorg GmbH
  6. * Written by Jan Janak <[email protected]>
  7. *
  8. * This file is part of SER, a free SIP server.
  9. *
  10. * SER is free software; you can redistribute it and/or modify it under the
  11. * terms of the GNU General Public License as published by the Free Software
  12. * Foundation; either version 2 of the License, or (at your option) any later
  13. * version.
  14. *
  15. * SER is distributed in the hope that it will be useful, but WITHOUT ANY
  16. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  17. * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
  18. * details.
  19. *
  20. * You should have received a copy of the GNU General Public License along
  21. * with this program; if not, write to the Free Software Foundation, Inc.,
  22. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  23. */
  24. #ifndef _FLATSTORE_MOD_H
  25. #define _FLATSTORE_MOD_H
  26. /** @defgroup flatstore Fast plain-text write-only DB driver.
  27. * @ingroup DB_API
  28. */
  29. /** @{ */
  30. /** \file
  31. * Flatstore module interface.
  32. */
  33. #include "../../str.h"
  34. #include <time.h>
  35. extern str flat_pid;
  36. extern int flat_flush;
  37. extern str flat_record_delimiter;
  38. extern str flat_delimiter;
  39. extern str flat_escape;
  40. extern str flat_suffix;
  41. extern time_t* flat_rotate;
  42. extern time_t flat_local_timestamp;
  43. /** @} */
  44. #endif /* _FLATSTORE_MOD_H */