Benny Prijono | e4c4020 | 2007-03-10 11:19:11 +0000 | [diff] [blame] | 1 | /* $Id$ */ |
Benny Prijono | 9033e31 | 2005-11-21 02:08:39 +0000 | [diff] [blame] | 2 | /* |
Benny Prijono | a771a51 | 2007-02-19 01:13:53 +0000 | [diff] [blame] | 3 | * Copyright (C)2003-2007 Benny Prijono <benny@prijono.org> |
Benny Prijono | 9033e31 | 2005-11-21 02:08:39 +0000 | [diff] [blame] | 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation; either version 2 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, write to the Free Software |
| 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 18 | */ |
Benny Prijono | bece36a | 2006-02-22 22:10:42 +0000 | [diff] [blame] | 19 | #ifndef __PJLIB_UTIL_H__ |
| 20 | #define __PJLIB_UTIL_H__ |
| 21 | |
Benny Prijono | 04d9576 | 2006-10-08 13:56:07 +0000 | [diff] [blame] | 22 | /** |
| 23 | * @file pjlib-util.h |
| 24 | * @brief pjlib-util.h |
| 25 | */ |
| 26 | |
Benny Prijono | 015cbfd | 2007-02-25 15:38:32 +0000 | [diff] [blame] | 27 | /* Base */ |
Benny Prijono | bece36a | 2006-02-22 22:10:42 +0000 | [diff] [blame] | 28 | #include <pjlib-util/errno.h> |
Benny Prijono | 015cbfd | 2007-02-25 15:38:32 +0000 | [diff] [blame] | 29 | #include <pjlib-util/types.h> |
| 30 | |
| 31 | /* Getopt */ |
Benny Prijono | 448fc06 | 2006-03-24 20:43:23 +0000 | [diff] [blame] | 32 | #include <pjlib-util/getopt.h> |
Benny Prijono | 015cbfd | 2007-02-25 15:38:32 +0000 | [diff] [blame] | 33 | |
| 34 | /* Crypto */ |
Benny Prijono | 3dc1f40 | 2007-02-26 02:33:14 +0000 | [diff] [blame] | 35 | #include <pjlib-util/crc32.h> |
Benny Prijono | 015cbfd | 2007-02-25 15:38:32 +0000 | [diff] [blame] | 36 | #include <pjlib-util/hmac_md5.h> |
| 37 | #include <pjlib-util/hmac_sha1.h> |
Benny Prijono | 9033e31 | 2005-11-21 02:08:39 +0000 | [diff] [blame] | 38 | #include <pjlib-util/md5.h> |
Benny Prijono | 015cbfd | 2007-02-25 15:38:32 +0000 | [diff] [blame] | 39 | #include <pjlib-util/sha1.h> |
| 40 | |
| 41 | /* DNS and resolver */ |
| 42 | #include <pjlib-util/dns.h> |
Benny Prijono | fa9e5b1 | 2006-10-08 12:39:34 +0000 | [diff] [blame] | 43 | #include <pjlib-util/resolver.h> |
Benny Prijono | 015cbfd | 2007-02-25 15:38:32 +0000 | [diff] [blame] | 44 | |
| 45 | /* Text scanner */ |
Benny Prijono | 9033e31 | 2005-11-21 02:08:39 +0000 | [diff] [blame] | 46 | #include <pjlib-util/scanner.h> |
Benny Prijono | 015cbfd | 2007-02-25 15:38:32 +0000 | [diff] [blame] | 47 | |
| 48 | /* XML */ |
Benny Prijono | 9033e31 | 2005-11-21 02:08:39 +0000 | [diff] [blame] | 49 | #include <pjlib-util/xml.h> |
Benny Prijono | bece36a | 2006-02-22 22:10:42 +0000 | [diff] [blame] | 50 | |
Benny Prijono | 14c2b86 | 2007-02-21 00:40:05 +0000 | [diff] [blame] | 51 | /* Old STUN */ |
| 52 | #include <pjlib-util/stun_simple.h> |
Benny Prijono | bece36a | 2006-02-22 22:10:42 +0000 | [diff] [blame] | 53 | |
Benny Prijono | 04d9576 | 2006-10-08 13:56:07 +0000 | [diff] [blame] | 54 | /** |
| 55 | * @addtogroup PJLIB_UTIL |
| 56 | * @{ |
| 57 | */ |
| 58 | |
Benny Prijono | bece36a | 2006-02-22 22:10:42 +0000 | [diff] [blame] | 59 | PJ_BEGIN_DECL |
| 60 | |
| 61 | /** |
| 62 | * Initialize PJLIB UTIL (defined in errno.c) |
| 63 | * |
| 64 | * @return PJ_SUCCESS on success. |
| 65 | */ |
| 66 | PJ_DECL(pj_status_t) pjlib_util_init(void); |
| 67 | |
| 68 | |
Benny Prijono | 04d9576 | 2006-10-08 13:56:07 +0000 | [diff] [blame] | 69 | /** |
| 70 | * @} |
| 71 | */ |
| 72 | |
Benny Prijono | bece36a | 2006-02-22 22:10:42 +0000 | [diff] [blame] | 73 | PJ_END_DECL |
| 74 | |
| 75 | |
| 76 | #endif /* __PJLIB_UTIL_H__ */ |