ppcfg.h
20cddb28
 /* 
  * Copyright (C) 2010 Daniel-Constantin Mierla (asipto.com)
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
  *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
2266bb9c
 /*!
  * \file
  * \brief Kamailio core :: Config preprocessor directives
  * \ingroup core
  * Module: \ref core
20cddb28
  */
 
 #ifndef _PPCFG_H_
 #define _PPCFG_H_
 
 int pp_subst_add(char *data);
8198fd2b
 int pp_substdef_add(char *data, int mode);
20cddb28
 int pp_subst_run(char **data);
 
78d26523
 int  pp_define(int len, const char *text);
 int  pp_define_set(int len, char *text);
13de789c
 int  pp_define_set_type(int type);
95dec431
 
713a0a1f
 void pp_ifdef_level_update(int val);
 void pp_ifdef_level_check(void);
 
20cddb28
 #endif /*_PPCFG_H_*/
 
 /* vi: set ts=4 sw=4 tw=79:ai:cindent: */