Changeset 51


Ignore:
Timestamp:
Nov 18, 2005 12:16:43 AM (17 years ago)
Author:
bennylp
Message:

Pretty comments

Location:
pjproject/trunk
Files:
2 added
3 deleted
308 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/INSTALL.txt

    r47 r51  
    1 Last Update: 2005/05/28 for pjproject-0.2.8 
    2  
    3  
    4 COMMON PROBLEMS 
    5 ================= 
    6 - make error 
    7 process_begin: CreateProcess((null), cl /c /nologo /DWIN32 /D_WIN32 /DPJ_GUID_TY 
    8 PE=PJ_GUID_COCREATEGUID /I../src ..\src\pj\ioqueue_winnt.c /Fooutput\pjlib_win32 
    9 _vc\ioqueue_winnt.o, ...) failed. 
    10 make (e=2): The system cannot find the file specified. 
    11 make[1]: *** [output/pjlib_win32_vc/ioqueue_winnt.o] Error 2 
    12  
    13   solution: 
    14 make doesn't like spaces in vc98 PATH 
    15  
    16  
    17 BUILD INSTRUCTIONS 
    18 ================================================================================ 
    19  
    20 The main target of the build process is to build executable pjsip/bin/pjsua.exe. 
    21  
    22  
    23 1. Build instructions for Microsoft Visual Studio .NET 2003 
    24    ---------------------------------------------- 
    25    - Open solution file: build/pjproject.sln 
    26      There will be some dialogs appear asking about Source Safe, just ignore it. 
    27    - Build the solution. That should build every single projects in pjproject. 
    28  
    29  
    30 2. Build instructions for Microsoft Visual Studio 6 
    31    ------------------------------------------------ 
    32    Note: MSVC6 workspace is normally updated less often than MSVC7.1 projects.  
    33          Especially during intermediate release. Normally the status will be 
    34          noted in the web page. 
    35  
    36    - Open workspace file: build/pjproject.dsw 
    37    - Perform batch build. That should build every single projects in pjproject. 
    38  
    39  
    40 3. Build instructions for Linux i386, Mingw 
    41    ---------------------------------------- 
    42    Note: mingw/Linux Makefiles are normally updated less often than MSVC7.1 projects. 
    43  
    44    Step-by-step instruction to build the whole thing: 
    45  
    46      $ tar xzvf pjproject-0.2.6.tar.gz  
    47      $ cd pjproject-0.2.6 
    48       
    49      $ export TARGET=mingw       <== for Mingw, or 
    50      $ export TARGET=linux-i386  <== for Linux 
    51     
    52      $ make dep 
    53      $ make all 
    54  
    55    That should build all libraries and test applications (including pjsua). 
    56  
    57    There are some other make targets: 
    58  
    59      $ make clean      ==> clean files (except libraries, binaries, & dependency files). 
    60      $ make realclean  ==> clean everything 
    61      $ make distclean  ==> ditto. 
    62  
    63    Note:  
    64      - pjsua for Mingw and Linux build doesn't have audio device at present. 
    65  
    66  
    67 4. Additional flags (for debugging etc.) 
    68    ------------------------------------- 
    69    The build system for mingw/Linux accepts can additional flags, for example 
    70    for debugging. 
    71  
    72    Example: 
    73  
    74     $ (on pjproject root directory) 
    75     $ make CFLAGS=-ggdb "LDFLAGS=-L/foo/lib -lfoo" 
    76  
    77  
    78  
    79 REDUCING SIZE 
    80 ================================================================================ 
    81  
    82 There are some C macros that can be used to reduce the size. For Mingw and Linux build, 
    83 these macros are activated if you specify MINSIZE=1 during make, e.g.: 
    84  
    85      $ .. (we're in pjproject directory) .. 
    86      $ make MINSIZE=1 all 
    87  
    88 Then after building the projects, you can check the size of the libraries: 
    89  
    90      $ make size 
    91  
    92 If you use Microsoft Visual Studio, then you'll have to set the C macros manually: 
    93  
    94      pjlib/src/pj/config.h: 
    95            - #define PJ_HAS_TCP                0   // ==> to exclude TCP 
    96            - #define PJ_HAS_THREADS            0   // ==> to exclude threads 
    97            - #define PJ_FUNCTIONS_ARE_INLINED  0   // ==> do not inline. 
    98      pjlib/src/pj/log.h: 
    99            - #define PJ_LOG_MAX_LEVEL          0   // ==> disable all tracing 
    100  
    101  
    102 GENERATING DOCUMENTATION 
    103 ================================================================================ 
    104  
    105 You need to have doxygen to generate documentation. 
    106  
    107 To generate doxygen documentation with GNU make,  
    108  
    109     $ (on pjproject root directory) 
    110     $ make doc 
    111  
    112 If GNU make is not available, generate documentation on each project: 
    113  
    114     $ cd pjsip 
    115     $ doxygen docs/doxygen.cfg 
    116  
    117     $ cd pjlib 
    118     $ doxygen docs/doxygen.cfg 
    119  
    120     etc.. 
    121  
    122 The HTML files will be put under docs/html directory. 
    123  
    124  
    125 That's about it I guess, sorry couldn't write more. Feel free to drop me a note if 
    126 you encounter any problems. 
    127  
    128  
    129 Thanks, 
    130 Benny Prijono 
    131 <bennylp at pjproject.net> 
    132  
     1Left empty for now. 
  • pjproject/trunk/pjlib-util/include/pjlib-util.h

    • Property svn:keyword set to Id
    r49 r51  
     1/* $Id */ 
    12/*  
    2  * PJLIB - PJ Foundation Library 
    3  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    44 * 
    5  * Author: 
    6  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * This library is free software; you can redistribute it and/or 
    9  * modify it under the terms of the GNU Lesser General Public 
    10  * License as published by the Free Software Foundation; either 
    11  * version 2.1 of the License, or (at your option) any later version. 
    12  *  
    13  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1411 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    16  * Lesser General Public License for more details. 
    17  *  
    18  * You should have received a copy of the GNU Lesser General Public 
    19  * License along with this library; if not, write to the Free Software 
    20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2118 */ 
    2219#include <pjlib-util/md5.h> 
  • pjproject/trunk/pjlib-util/include/pjlib-util/md5.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C) 2003-2005 Benny Prijono <benny@prijono.org> 
    24 * 
     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  
    318 */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    7  * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
    10  * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     19#ifndef __PJLIB_UTIL_MD5_H__ 
     20#define __PJLIB_UTIL_MD5_H__ 
     21 
     22#include <pj/types.h> 
     23 
     24PJ_BEGIN_DECL 
     25 
     26/** MD5 context. */ 
     27typedef struct pj_md5_context 
     28{ 
     29        pj_uint32_t buf[4]; 
     30        pj_uint32_t bits[2]; 
     31        pj_uint8_t  in[64]; 
     32} pj_md5_context; 
     33 
     34/** Initialize the algorithm.  
     35 *  @param pms          MD5 context. 
    2436 */ 
    25 /* 
    26   Copyright (C) 1999, 2002 Aladdin Enterprises.  All rights reserved. 
     37PJ_DECL(void) pj_md5_init(pj_md5_context *pms); 
    2738 
    28   This software is provided 'as-is', without any express or implied 
    29   warranty.  In no event will the authors be held liable for any damages 
    30   arising from the use of this software. 
     39/** Append a string to the message.  
     40 *  @param pms          MD5 context. 
     41 *  @param data         Data. 
     42 *  @param nbytes       Length of data. 
     43 */ 
     44PJ_DECL(void) pj_md5_update( pj_md5_context *pms,  
     45                             const pj_uint8_t *data, unsigned nbytes); 
    3146 
    32   Permission is granted to anyone to use this software for any purpose, 
    33   including commercial applications, and to alter it and redistribute it 
    34   freely, subject to the following restrictions: 
     47/** Finish the message and return the digest.  
     48 *  @param pms          MD5 context. 
     49 *  @param digest       16 byte digest. 
     50 */ 
     51PJ_DECL(void) pj_md5_final(pj_md5_context *pms, pj_uint8_t digest[16]); 
    3552 
    36   1. The origin of this software must not be misrepresented; you must not 
    37      claim that you wrote the original software. If you use this software 
    38      in a product, an acknowledgment in the product documentation would be 
    39      appreciated but is not required. 
    40   2. Altered source versions must be plainly marked as such, and must not be 
    41      misrepresented as being the original software. 
    42   3. This notice may not be removed or altered from any source distribution. 
     53PJ_END_DECL 
    4354 
    44   L. Peter Deutsch 
    45   ghost@aladdin.com 
    46  
    47  */ 
    48 /* $Id$ */ 
    49 /* 
    50   Independent implementation of MD5 (RFC 1321). 
    51  
    52   This code implements the MD5 Algorithm defined in RFC 1321, whose 
    53   text is available at 
    54         http://www.ietf.org/rfc/rfc1321.txt 
    55   The code is derived from the text of the RFC, including the test suite 
    56   (section A.5) but excluding the rest of Appendix A.  It does not include 
    57   any code or documentation that is identified in the RFC as being 
    58   copyrighted. 
    59  
    60   The original and principal author of md5.h is L. Peter Deutsch 
    61   <ghost@aladdin.com>.  Other authors are noted in the change history 
    62   that follows (in reverse chronological order): 
    63  
    64   2002-04-13 lpd Removed support for non-ANSI compilers; removed 
    65         references to Ghostscript; clarified derivation from RFC 1321; 
    66         now handles byte order either statically or dynamically. 
    67   1999-11-04 lpd Edited comments slightly for automatic TOC extraction. 
    68   1999-10-18 lpd Fixed typo in header comment (ansi2knr rather than md5); 
    69         added conditionalization for C++ compilation from Martin 
    70         Purschke <purschke@bnl.gov>. 
    71   1999-05-03 lpd Original version. 
    72  */ 
    73  
    74 #ifndef md5_INCLUDED 
    75 #  define md5_INCLUDED 
    76  
    77 /* 
    78  * This package supports both compile-time and run-time determination of CPU 
    79  * byte order.  If ARCH_IS_BIG_ENDIAN is defined as 0, the code will be 
    80  * compiled to run only on little-endian CPUs; if ARCH_IS_BIG_ENDIAN is 
    81  * defined as non-zero, the code will be compiled to run only on big-endian 
    82  * CPUs; if ARCH_IS_BIG_ENDIAN is not defined, the code will be compiled to 
    83  * run on either big- or little-endian CPUs, but will run slightly less 
    84  * efficiently on either one than if ARCH_IS_BIG_ENDIAN is defined. 
    85  */ 
    86  
    87 typedef unsigned char md5_byte_t; /* 8-bit byte */ 
    88 typedef unsigned long md5_word_t; /* 32-bit word */ 
    89  
    90 /** Define the state of the MD5 Algorithm. */ 
    91 typedef struct md5_state_s { 
    92     md5_word_t count[2];        /**< message length in bits, lsw first */ 
    93     md5_word_t abcd[4];         /**< digest buffer */ 
    94     md5_byte_t buf[64];         /**< accumulate block */ 
    95 } md5_state_t; 
    96  
    97 #ifdef __cplusplus 
    98 extern "C"  
    99 { 
    100 #endif 
    101  
    102 /** Initialize the algorithm. */ 
    103 void md5_init(md5_state_t *pms); 
    104  
    105 /** Append a string to the message. */ 
    106 void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes); 
    107  
    108 /** Finish the message and return the digest. */ 
    109 void md5_finish(md5_state_t *pms, md5_byte_t digest[16]); 
    110  
    111 #ifdef __cplusplus 
    112 }  /* end extern "C" */ 
    113 #endif 
    114  
    115 #endif /* md5_INCLUDED */ 
     55#endif  /* __PJLIB_UTIL_MD5_H__ */ 
  • pjproject/trunk/pjlib-util/include/pjlib-util/scanner.h

    r49 r51  
    1 /* $Id$ 
    2  */ 
     1/* $Id$ */ 
    32/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    6  * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
    9  * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     3 * Copyright (C) 2003-2005 Benny Prijono <benny@prijono.org> 
     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, 
    1611 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2318 */ 
    2419#ifndef __PJ_SCANNER_H__ 
  • pjproject/trunk/pjlib-util/include/pjlib-util/stun.h

    • Property svn:keyword set to Id
    r49 r51  
     1/* $Id */ 
    12/*  
    2  * PJLIB - PJ Foundation Library 
    3  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C) 2003-2005 Benny Prijono <benny@prijono.org> 
    44 * 
    5  * Author: 
    6  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * This library is free software; you can redistribute it and/or 
    9  * modify it under the terms of the GNU Lesser General Public 
    10  * License as published by the Free Software Foundation; either 
    11  * version 2.1 of the License, or (at your option) any later version. 
    12  *  
    13  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1411 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    16  * Lesser General Public License for more details. 
    17  *  
    18  * You should have received a copy of the GNU Lesser General Public 
    19  * License along with this library; if not, write to the Free Software 
    20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2118 */ 
    2219#ifndef __PJ_STUN_H__ 
  • pjproject/trunk/pjlib-util/include/pjlib-util/xml.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C) 2003-2005 Benny Prijono <benny@prijono.org> 
    24 * 
     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  
    318 */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    7  * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
    10  * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25  
    2619#ifndef __PJ_XML_H__ 
    2720#define __PJ_XML_H__ 
  • pjproject/trunk/pjlib-util/src/pjlib-util-test/main.c

    • Property svn:keyword set to Id
    r49 r51  
     1/* $Id */ 
    12/*  
    2  * PJLIB - PJ Foundation Library 
    3  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C) 2003-2006 Benny Prijono <benny@prijono.org> 
    44 * 
    5  * Author: 
    6  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * This library is free software; you can redistribute it and/or 
    9  * modify it under the terms of the GNU Lesser General Public 
    10  * License as published by the Free Software Foundation; either 
    11  * version 2.1 of the License, or (at your option) any later version. 
    12  *  
    13  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1411 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    16  * Lesser General Public License for more details. 
    17  *  
    18  * You should have received a copy of the GNU Lesser General Public 
    19  * License along with this library; if not, write to the Free Software 
    20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2118 */ 
    2219#include "test.h" 
  • pjproject/trunk/pjlib-util/src/pjlib-util-test/test.c

    • Property svn:keyword set to Id
    r49 r51  
     1/* $Id */ 
    12/*  
    2  * PJLIB - PJ Foundation Library 
    3  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C) 2003-2006 Benny Prijono <benny@prijono.org> 
    44 * 
    5  * Author: 
    6  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * This library is free software; you can redistribute it and/or 
    9  * modify it under the terms of the GNU Lesser General Public 
    10  * License as published by the Free Software Foundation; either 
    11  * version 2.1 of the License, or (at your option) any later version. 
    12  *  
    13  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1411 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    16  * Lesser General Public License for more details. 
    17  *  
    18  * You should have received a copy of the GNU Lesser General Public 
    19  * License along with this library; if not, write to the Free Software 
    20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2118 */ 
    2219#include "test.h" 
  • pjproject/trunk/pjlib-util/src/pjlib-util-test/test.h

    • Property svn:keyword set to Id
    r49 r51  
     1/* $Id */ 
    12/*  
    2  * PJLIB - PJ Foundation Library 
    3  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C) 2003-2006 Benny Prijono <benny@prijono.org> 
    44 * 
    5  * Author: 
    6  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * This library is free software; you can redistribute it and/or 
    9  * modify it under the terms of the GNU Lesser General Public 
    10  * License as published by the Free Software Foundation; either 
    11  * version 2.1 of the License, or (at your option) any later version. 
    12  *  
    13  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1411 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    16  * Lesser General Public License for more details. 
    17  *  
    18  * You should have received a copy of the GNU Lesser General Public 
    19  * License along with this library; if not, write to the Free Software 
    20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2118 */ 
    2219#include <pj/types.h> 
  • pjproject/trunk/pjlib-util/src/pjlib-util-test/xml.c

    • Property svn:keyword set to Id
    r49 r51  
    1 /* $Id$ 
    2  */ 
     1/* $Id$ */ 
    32/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C) 2003-2006 Benny Prijono <benny@prijono.org> 
    64 * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    99 * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1611 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2318 */ 
    2419#include "test.h" 
  • pjproject/trunk/pjlib-util/src/pjlib-util/md5.c

    r49 r51  
    1 /* $Id$ 
    2  */ 
     1/* $Id$ */ 
    32/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    6  * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
    9  * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     3 * Copyright (C) 2003-2006 Benny Prijono <benny@prijono.org> 
     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, 
    1611 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    23  */ 
    24 /* 
    25   Copyright (C) 1999, 2000, 2002 Aladdin Enterprises.  All rights reserved. 
    26  
    27   This software is provided 'as-is', without any express or implied 
    28   warranty.  In no event will the authors be held liable for any damages 
    29   arising from the use of this software. 
    30  
    31   Permission is granted to anyone to use this software for any purpose, 
    32   including commercial applications, and to alter it and redistribute it 
    33   freely, subject to the following restrictions: 
    34  
    35   1. The origin of this software must not be misrepresented; you must not 
    36      claim that you wrote the original software. If you use this software 
    37      in a product, an acknowledgment in the product documentation would be 
    38      appreciated but is not required. 
    39   2. Altered source versions must be plainly marked as such, and must not be 
    40      misrepresented as being the original software. 
    41   3. This notice may not be removed or altered from any source distribution. 
    42  
    43   L. Peter Deutsch 
    44   ghost@aladdin.com 
    45  
    46  */ 
    47 /* Id: md5.c,v 1.6 2002/04/13 19:20:28 lpd Exp */ 
    48 /* 
    49   Independent implementation of MD5 (RFC 1321). 
    50  
    51   This code implements the MD5 Algorithm defined in RFC 1321, whose 
    52   text is available at 
    53         http://www.ietf.org/rfc/rfc1321.txt 
    54   The code is derived from the text of the RFC, including the test suite 
    55   (section A.5) but excluding the rest of Appendix A.  It does not include 
    56   any code or documentation that is identified in the RFC as being 
    57   copyrighted. 
    58  
    59   The original and principal author of md5.c is L. Peter Deutsch 
    60   <ghost@aladdin.com>.  Other authors are noted in the change history 
    61   that follows (in reverse chronological order): 
    62  
    63   2002-04-13 lpd Clarified derivation from RFC 1321; now handles byte order 
    64         either statically or dynamically; added missing #include <string.h> 
    65         in library. 
    66   2002-03-11 lpd Corrected argument list for main(), and added int return 
    67         type, in test program and T value program. 
    68   2002-02-21 lpd Added missing #include <stdio.h> in test program. 
    69   2000-07-03 lpd Patched to eliminate warnings about "constant is 
    70         unsigned in ANSI C, signed in traditional"; made test program 
    71         self-checking. 
    72   1999-11-04 lpd Edited comments slightly for automatic TOC extraction. 
    73   1999-10-18 lpd Fixed typo in header comment (ansi2knr rather than md5). 
    74   1999-05-03 lpd Original version. 
    75  */ 
    76  
     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 */ 
    7719#include <pjlib-util/md5.h> 
    78 #include <pj/string.h> 
    79 #include <pj/os.h> 
    80  
    81 #undef BYTE_ORDER       /* 1 = big-endian, -1 = little-endian, 0 = unknown */ 
    82  
    83 /* 
    84 #ifdef ARCH_IS_BIG_ENDIAN 
    85 #  define BYTE_ORDER (ARCH_IS_BIG_ENDIAN ? 1 : -1) 
     20#include <pj/string.h>          /* pj_memcpy */ 
     21/* 
     22 * This code implements the MD5 message-digest algorithm. 
     23 * The algorithm is due to Ron Rivest.  This code was 
     24 * written by Colin Plumb in 1993, no copyright is claimed. 
     25 * This code is in the public domain; do with it what you wish. 
     26 * 
     27 * Equivalent code is available from RSA Data Security, Inc. 
     28 * This code has been tested against that, and is equivalent, 
     29 * except that you don't need to include two pages of legalese 
     30 * with every copy. 
     31 * 
     32 * To compute the message digest of a chunk of bytes, declare an 
     33 * MD5Context structure, pass it to MD5Init, call MD5Update as 
     34 * needed on buffers full of bytes, and then call MD5Final, which 
     35 * will fill a supplied 16-byte array with the digest. 
     36 */ 
     37 
     38#if defined(PJ_IS_BIG_ENDIAN) && PJ_IS_BIG_ENDIAN != 0 
     39#define HIGHFIRST 1 
     40#endif 
     41 
     42#ifndef HIGHFIRST 
     43#define byteReverse(buf, len)   /* Nothing */ 
    8644#else 
    87 #  define BYTE_ORDER 0 
    88 #endif 
    89 */ 
    90 /* pjlib: */ 
    91 #include <pj/config.h> 
    92 #if PJ_IS_LITTLE_ENDIAN 
    93 #  define BYTE_ORDER -1 
    94 #elif PJ_IS_BIG_ENDIAN 
    95 #  define BYTE_ORDER 1 
    96 #else 
    97 #  error Endianess is not known! 
    98 #endif 
    99  
    100  
    101 #define T_MASK ((md5_word_t)~0) 
    102 #define T1 /* 0xd76aa478 */ (T_MASK ^ 0x28955b87) 
    103 #define T2 /* 0xe8c7b756 */ (T_MASK ^ 0x173848a9) 
    104 #define T3    0x242070db 
    105 #define T4 /* 0xc1bdceee */ (T_MASK ^ 0x3e423111) 
    106 #define T5 /* 0xf57c0faf */ (T_MASK ^ 0x0a83f050) 
    107 #define T6    0x4787c62a 
    108 #define T7 /* 0xa8304613 */ (T_MASK ^ 0x57cfb9ec) 
    109 #define T8 /* 0xfd469501 */ (T_MASK ^ 0x02b96afe) 
    110 #define T9    0x698098d8 
    111 #define T10 /* 0x8b44f7af */ (T_MASK ^ 0x74bb0850) 
    112 #define T11 /* 0xffff5bb1 */ (T_MASK ^ 0x0000a44e) 
    113 #define T12 /* 0x895cd7be */ (T_MASK ^ 0x76a32841) 
    114 #define T13    0x6b901122 
    115 #define T14 /* 0xfd987193 */ (T_MASK ^ 0x02678e6c) 
    116 #define T15 /* 0xa679438e */ (T_MASK ^ 0x5986bc71) 
    117 #define T16    0x49b40821 
    118 #define T17 /* 0xf61e2562 */ (T_MASK ^ 0x09e1da9d) 
    119 #define T18 /* 0xc040b340 */ (T_MASK ^ 0x3fbf4cbf) 
    120 #define T19    0x265e5a51 
    121 #define T20 /* 0xe9b6c7aa */ (T_MASK ^ 0x16493855) 
    122 #define T21 /* 0xd62f105d */ (T_MASK ^ 0x29d0efa2) 
    123 #define T22    0x02441453 
    124 #define T23 /* 0xd8a1e681 */ (T_MASK ^ 0x275e197e) 
    125 #define T24 /* 0xe7d3fbc8 */ (T_MASK ^ 0x182c0437) 
    126 #define T25    0x21e1cde6 
    127 #define T26 /* 0xc33707d6 */ (T_MASK ^ 0x3cc8f829) 
    128 #define T27 /* 0xf4d50d87 */ (T_MASK ^ 0x0b2af278) 
    129 #define T28    0x455a14ed 
    130 #define T29 /* 0xa9e3e905 */ (T_MASK ^ 0x561c16fa) 
    131 #define T30 /* 0xfcefa3f8 */ (T_MASK ^ 0x03105c07) 
    132 #define T31    0x676f02d9 
    133 #define T32 /* 0x8d2a4c8a */ (T_MASK ^ 0x72d5b375) 
    134 #define T33 /* 0xfffa3942 */ (T_MASK ^ 0x0005c6bd) 
    135 #define T34 /* 0x8771f681 */ (T_MASK ^ 0x788e097e) 
    136 #define T35    0x6d9d6122 
    137 #define T36 /* 0xfde5380c */ (T_MASK ^ 0x021ac7f3) 
    138 #define T37 /* 0xa4beea44 */ (T_MASK ^ 0x5b4115bb) 
    139 #define T38    0x4bdecfa9 
    140 #define T39 /* 0xf6bb4b60 */ (T_MASK ^ 0x0944b49f) 
    141 #define T40 /* 0xbebfbc70 */ (T_MASK ^ 0x4140438f) 
    142 #define T41    0x289b7ec6 
    143 #define T42 /* 0xeaa127fa */ (T_MASK ^ 0x155ed805) 
    144 #define T43 /* 0xd4ef3085 */ (T_MASK ^ 0x2b10cf7a) 
    145 #define T44    0x04881d05 
    146 #define T45 /* 0xd9d4d039 */ (T_MASK ^ 0x262b2fc6) 
    147 #define T46 /* 0xe6db99e5 */ (T_MASK ^ 0x1924661a) 
    148 #define T47    0x1fa27cf8 
    149 #define T48 /* 0xc4ac5665 */ (T_MASK ^ 0x3b53a99a) 
    150 #define T49 /* 0xf4292244 */ (T_MASK ^ 0x0bd6ddbb) 
    151 #define T50    0x432aff97 
    152 #define T51 /* 0xab9423a7 */ (T_MASK ^ 0x546bdc58) 
    153 #define T52 /* 0xfc93a039 */ (T_MASK ^ 0x036c5fc6) 
    154 #define T53    0x655b59c3 
    155 #define T54 /* 0x8f0ccc92 */ (T_MASK ^ 0x70f3336d) 
    156 #define T55 /* 0xffeff47d */ (T_MASK ^ 0x00100b82) 
    157 #define T56 /* 0x85845dd1 */ (T_MASK ^ 0x7a7ba22e) 
    158 #define T57    0x6fa87e4f 
    159 #define T58 /* 0xfe2ce6e0 */ (T_MASK ^ 0x01d3191f) 
    160 #define T59 /* 0xa3014314 */ (T_MASK ^ 0x5cfebceb) 
    161 #define T60    0x4e0811a1 
    162 #define T61 /* 0xf7537e82 */ (T_MASK ^ 0x08ac817d) 
    163 #define T62 /* 0xbd3af235 */ (T_MASK ^ 0x42c50dca) 
    164 #define T63    0x2ad7d2bb 
    165 #define T64 /* 0xeb86d391 */ (T_MASK ^ 0x14792c6e) 
    166  
    167  
    168 static void 
    169 md5_process(md5_state_t *pms, const md5_byte_t *data /*[64]*/) 
    170 { 
    171     md5_word_t 
    172         a = pms->abcd[0], b = pms->abcd[1], 
    173         c = pms->abcd[2], d = pms->abcd[3]; 
    174     md5_word_t t; 
    175 #if BYTE_ORDER > 0 
    176     /* Define storage only for big-endian CPUs. */ 
    177     md5_word_t X[16]; 
    178 #else 
    179     /* Define storage for little-endian or both types of CPUs. */ 
    180     md5_word_t xbuf[16]; 
    181     const md5_word_t *X; 
    182 #endif 
    183  
    184     PJ_CHECK_STACK(); 
    185  
    186     { 
    187 #if BYTE_ORDER == 0 
    188         /* 
    189          * Determine dynamically whether this is a big-endian or 
    190          * little-endian machine, since we can use a more efficient 
    191          * algorithm on the latter. 
    192          */ 
    193         static const int w = 1; 
    194  
    195         if (*((const md5_byte_t *)&w)) /* dynamic little-endian */ 
    196 #endif 
    197 #if BYTE_ORDER <= 0             /* little-endian */ 
    198         { 
    199             /* 
    200              * On little-endian machines, we can process properly aligned 
    201              * data without copying it. 
    202              */ 
    203             if (!((data - (const md5_byte_t *)0) & 3)) { 
    204                 /* data are properly aligned */ 
    205                 X = (const md5_word_t *)data; 
    206             } else { 
    207                 /* not aligned */ 
    208                 memcpy(xbuf, data, 64); 
    209                 X = xbuf; 
    210             } 
     45void byteReverse(unsigned char *buf, unsigned longs); 
     46 
     47#ifndef ASM_MD5 
     48/* 
     49 * Note: this code is harmless on little-endian machines. 
     50 */ 
     51void byteReverse(unsigned char *buf, unsigned longs) 
     52{ 
     53    pj_uint32_t t; 
     54    do { 
     55        t = (pj_uint32_t) ((unsigned) buf[3] << 8 | buf[2]) << 16 | 
     56            ((unsigned) buf[1] << 8 | buf[0]); 
     57        *(pj_uint32_t *) buf = t; 
     58        buf += 4; 
     59    } while (--longs); 
     60} 
     61#endif 
     62#endif 
     63 
     64static void MD5Transform(pj_uint32_t buf[4], pj_uint32_t const in[16]); 
     65 
     66 
     67/* 
     68 * Start MD5 accumulation.  Set bit count to 0 and buffer to mysterious 
     69 * initialization constants. 
     70 */ 
     71PJ_DEF(void) pj_md5_init(pj_md5_context *ctx) 
     72{ 
     73    ctx->buf[0] = 0x67452301; 
     74    ctx->buf[1] = 0xefcdab89; 
     75    ctx->buf[2] = 0x98badcfe; 
     76    ctx->buf[3] = 0x10325476; 
     77 
     78    ctx->bits[0] = 0; 
     79    ctx->bits[1] = 0; 
     80} 
     81 
     82/* 
     83 * Update context to reflect the concatenation of another buffer full 
     84 * of bytes. 
     85 */ 
     86PJ_DEF(void) pj_md5_update( pj_md5_context *ctx,  
     87                            unsigned char const *buf, unsigned len) 
     88{ 
     89    pj_uint32_t t; 
     90 
     91    /* Update bitcount */ 
     92 
     93    t = ctx->bits[0]; 
     94    if ((ctx->bits[0] = t + ((pj_uint32_t) len << 3)) < t) 
     95        ctx->bits[1]++;         /* Carry from low to high */ 
     96    ctx->bits[1] += len >> 29; 
     97 
     98    t = (t >> 3) & 0x3f;        /* Bytes already in shsInfo->data */ 
     99 
     100    /* Handle any leading odd-sized chunks */ 
     101 
     102    if (t) { 
     103        unsigned char *p = (unsigned char *) ctx->in + t; 
     104 
     105        t = 64 - t; 
     106        if (len < t) { 
     107            pj_memcpy(p, buf, len); 
     108            return; 
    211109        } 
    212 #endif 
    213 #if BYTE_ORDER == 0 
    214         else                    /* dynamic big-endian */ 
    215 #endif 
    216 #if BYTE_ORDER >= 0             /* big-endian */ 
    217         { 
    218             /* 
    219              * On big-endian machines, we must arrange the bytes in the 
    220              * right order. 
    221              */ 
    222             const md5_byte_t *xp = data; 
    223             int i; 
    224  
    225 #  if BYTE_ORDER == 0 
    226             X = xbuf;           /* (dynamic only) */ 
    227 #  else 
    228 #    define xbuf X              /* (static only) */ 
    229 #  endif 
    230             for (i = 0; i < 16; ++i, xp += 4) 
    231                 xbuf[i] = xp[0] + (xp[1] << 8) + (xp[2] << 16) + (xp[3] << 24); 
    232         } 
    233 #endif 
     110        pj_memcpy(p, buf, t); 
     111        byteReverse(ctx->in, 16); 
     112        MD5Transform(ctx->buf, (pj_uint32_t *) ctx->in); 
     113        buf += t; 
     114        len -= t; 
    234115    } 
    235  
    236 #define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32 - (n)))) 
    237  
    238     /* Round 1. */ 
    239     /* Let [abcd k s i] denote the operation 
    240        a = b + ((a + F(b,c,d) + X[k] + T[i]) <<< s). */ 
    241 #define F(x, y, z) (((x) & (y)) | (~(x) & (z))) 
    242 #define SET(a, b, c, d, k, s, Ti)\ 
    243   t = a + F(b,c,d) + X[k] + Ti;\ 
    244   a = ROTATE_LEFT(t, s) + b 
    245     /* Do the following 16 operations. */ 
    246     SET(a, b, c, d,  0,  7,  T1); 
    247     SET(d, a, b, c,  1, 12,  T2); 
    248     SET(c, d, a, b,  2, 17,  T3); 
    249     SET(b, c, d, a,  3, 22,  T4); 
    250     SET(a, b, c, d,  4,  7,  T5); 
    251     SET(d, a, b, c,  5, 12,  T6); 
    252     SET(c, d, a, b,  6, 17,  T7); 
    253     SET(b, c, d, a,  7, 22,  T8); 
    254     SET(a, b, c, d,  8,  7,  T9); 
    255     SET(d, a, b, c,  9, 12, T10); 
    256     SET(c, d, a, b, 10, 17, T11); 
    257     SET(b, c, d, a, 11, 22, T12); 
    258     SET(a, b, c, d, 12,  7, T13); 
    259     SET(d, a, b, c, 13, 12, T14); 
    260     SET(c, d, a, b, 14, 17, T15); 
    261     SET(b, c, d, a, 15, 22, T16); 
    262 #undef SET 
    263  
    264      /* Round 2. */ 
    265      /* Let [abcd k s i] denote the operation 
    266           a = b + ((a + G(b,c,d) + X[k] + T[i]) <<< s). */ 
    267 #define G(x, y, z) (((x) & (z)) | ((y) & ~(z))) 
    268 #define SET(a, b, c, d, k, s, Ti)\ 
    269   t = a + G(b,c,d) + X[k] + Ti;\ 
    270   a = ROTATE_LEFT(t, s) + b 
    271      /* Do the following 16 operations. */ 
    272     SET(a, b, c, d,  1,  5, T17); 
    273     SET(d, a, b, c,  6,  9, T18); 
    274     SET(c, d, a, b, 11, 14, T19); 
    275     SET(b, c, d, a,  0, 20, T20); 
    276     SET(a, b, c, d,  5,  5, T21); 
    277     SET(d, a, b, c, 10,  9, T22); 
    278     SET(c, d, a, b, 15, 14, T23); 
    279     SET(b, c, d, a,  4, 20, T24); 
    280     SET(a, b, c, d,  9,  5, T25); 
    281     SET(d, a, b, c, 14,  9, T26); 
    282     SET(c, d, a, b,  3, 14, T27); 
    283     SET(b, c, d, a,  8, 20, T28); 
    284     SET(a, b, c, d, 13,  5, T29); 
    285     SET(d, a, b, c,  2,  9, T30); 
    286     SET(c, d, a, b,  7, 14, T31); 
    287     SET(b, c, d, a, 12, 20, T32); 
    288 #undef SET 
    289  
    290      /* Round 3. */ 
    291      /* Let [abcd k s t] denote the operation 
    292           a = b + ((a + H(b,c,d) + X[k] + T[i]) <<< s). */ 
    293 #define H(x, y, z) ((x) ^ (y) ^ (z)) 
    294 #define SET(a, b, c, d, k, s, Ti)\ 
    295   t = a + H(b,c,d) + X[k] + Ti;\ 
    296   a = ROTATE_LEFT(t, s) + b 
    297      /* Do the following 16 operations. */ 
    298     SET(a, b, c, d,  5,  4, T33); 
    299     SET(d, a, b, c,  8, 11, T34); 
    300     SET(c, d, a, b, 11, 16, T35); 
    301     SET(b, c, d, a, 14, 23, T36); 
    302     SET(a, b, c, d,  1,  4, T37); 
    303     SET(d, a, b, c,  4, 11, T38); 
    304     SET(c, d, a, b,  7, 16, T39); 
    305     SET(b, c, d, a, 10, 23, T40); 
    306     SET(a, b, c, d, 13,  4, T41); 
    307     SET(d, a, b, c,  0, 11, T42); 
    308     SET(c, d, a, b,  3, 16, T43); 
    309     SET(b, c, d, a,  6, 23, T44); 
    310     SET(a, b, c, d,  9,  4, T45); 
    311     SET(d, a, b, c, 12, 11, T46); 
    312     SET(c, d, a, b, 15, 16, T47); 
    313     SET(b, c, d, a,  2, 23, T48); 
    314 #undef SET 
    315  
    316      /* Round 4. */ 
    317      /* Let [abcd k s t] denote the operation 
    318           a = b + ((a + I(b,c,d) + X[k] + T[i]) <<< s). */ 
    319 #define I(x, y, z) ((y) ^ ((x) | ~(z))) 
    320 #define SET(a, b, c, d, k, s, Ti)\ 
    321   t = a + I(b,c,d) + X[k] + Ti;\ 
    322   a = ROTATE_LEFT(t, s) + b 
    323      /* Do the following 16 operations. */ 
    324     SET(a, b, c, d,  0,  6, T49); 
    325     SET(d, a, b, c,  7, 10, T50); 
    326     SET(c, d, a, b, 14, 15, T51); 
    327     SET(b, c, d, a,  5, 21, T52); 
    328     SET(a, b, c, d, 12,  6, T53); 
    329     SET(d, a, b, c,  3, 10, T54); 
    330     SET(c, d, a, b, 10, 15, T55); 
    331     SET(b, c, d, a,  1, 21, T56); 
    332     SET(a, b, c, d,  8,  6, T57); 
    333     SET(d, a, b, c, 15, 10, T58); 
    334     SET(c, d, a, b,  6, 15, T59); 
    335     SET(b, c, d, a, 13, 21, T60); 
    336     SET(a, b, c, d,  4,  6, T61); 
    337     SET(d, a, b, c, 11, 10, T62); 
    338     SET(c, d, a, b,  2, 15, T63); 
    339     SET(b, c, d, a,  9, 21, T64); 
    340 #undef SET 
    341  
    342      /* Then perform the following additions. (That is increment each 
    343         of the four registers by the value it had before this block 
    344         was started.) */ 
    345     pms->abcd[0] += a; 
    346     pms->abcd[1] += b; 
    347     pms->abcd[2] += c; 
    348     pms->abcd[3] += d; 
    349 } 
    350  
    351 void 
    352 md5_init(md5_state_t *pms) 
    353 { 
    354     PJ_CHECK_STACK(); 
    355  
    356     pms->count[0] = pms->count[1] = 0; 
    357     pms->abcd[0] = 0x67452301; 
    358     pms->abcd[1] = /*0xefcdab89*/ T_MASK ^ 0x10325476; 
    359     pms->abcd[2] = /*0x98badcfe*/ T_MASK ^ 0x67452301; 
    360     pms->abcd[3] = 0x10325476; 
    361 } 
    362  
    363 void 
    364 md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes) 
    365 { 
    366     const md5_byte_t *p = data; 
    367     int left = nbytes; 
    368     int offset = (pms->count[0] >> 3) & 63; 
    369     md5_word_t nbits = (md5_word_t)(nbytes << 3); 
    370  
    371     PJ_CHECK_STACK(); 
    372  
    373     if (nbytes <= 0) 
    374         return; 
    375  
    376     /* Update the message length. */ 
    377     pms->count[1] += nbytes >> 29; 
    378     pms->count[0] += nbits; 
    379     if (pms->count[0] < nbits) 
    380         pms->count[1]++; 
    381  
    382     /* Process an initial partial block. */ 
    383     if (offset) { 
    384         int copy = (offset + nbytes > 64 ? 64 - offset : nbytes); 
    385  
    386         memcpy(pms->buf + offset, p, copy); 
    387         if (offset + copy < 64) 
    388             return; 
    389         p += copy; 
    390         left -= copy; 
    391         md5_process(pms, pms->buf); 
     116    /* Process data in 64-byte chunks */ 
     117 
     118    while (len >= 64) { 
     119        pj_memcpy(ctx->in, buf, 64); 
     120        byteReverse(ctx->in, 16); 
     121        MD5Transform(ctx->buf, (pj_uint32_t *) ctx->in); 
     122        buf += 64; 
     123        len -= 64; 
    392124    } 
    393125 
    394     /* Process full blocks. */ 
    395     for (; left >= 64; p += 64, left -= 64) 
    396         md5_process(pms, p); 
    397  
    398     /* Process a final partial block. */ 
    399     if (left) 
    400         memcpy(pms->buf, p, left); 
    401 } 
    402  
    403 void 
    404 md5_finish(md5_state_t *pms, md5_byte_t digest[16]) 
    405 { 
    406     static const md5_byte_t pad[64] = { 
    407         0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
    408         0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
    409         0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
    410         0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 
    411     }; 
    412     md5_byte_t data[8]; 
    413     int i; 
    414  
    415     PJ_CHECK_STACK(); 
    416  
    417     /* Save the length before padding. */ 
    418     for (i = 0; i < 8; ++i) 
    419         data[i] = (md5_byte_t)(pms->count[i >> 2] >> ((i & 3) << 3)); 
    420     /* Pad to 56 bytes mod 64. */ 
    421     md5_append(pms, pad, ((55 - (pms->count[0] >> 3)) & 63) + 1); 
    422     /* Append the length. */ 
    423     md5_append(pms, data, 8); 
    424     for (i = 0; i < 16; ++i) 
    425         digest[i] = (md5_byte_t)(pms->abcd[i >> 2] >> ((i & 3) << 3)); 
    426 } 
    427  
     126    /* Handle any remaining bytes of data. */ 
     127 
     128    pj_memcpy(ctx->in, buf, len); 
     129} 
     130 
     131/* 
     132 * Final wrapup - pad to 64-byte boundary with the bit pattern  
     133 * 1 0* (64-bit count of bits processed, MSB-first) 
     134 */ 
     135PJ_DEF(void) pj_md5_final(pj_md5_context *ctx, unsigned char digest[16]) 
     136{ 
     137    unsigned count; 
     138    unsigned char *p; 
     139 
     140    /* Compute number of bytes mod 64 */ 
     141    count = (ctx->bits[0] >> 3) & 0x3F; 
     142 
     143    /* Set the first char of padding to 0x80.  This is safe since there is 
     144       always at least one byte free */ 
     145    p = ctx->in + count; 
     146    *p++ = 0x80; 
     147 
     148    /* Bytes of padding needed to make 64 bytes */ 
     149    count = 64 - 1 - count; 
     150 
     151    /* Pad out to 56 mod 64 */ 
     152    if (count < 8) { 
     153        /* Two lots of padding:  Pad the first block to 64 bytes */ 
     154        pj_memset(p, 0, count); 
     155        byteReverse(ctx->in, 16); 
     156        MD5Transform(ctx->buf, (pj_uint32_t *) ctx->in); 
     157 
     158        /* Now fill the next block with 56 bytes */ 
     159        pj_memset(ctx->in, 0, 56); 
     160    } else { 
     161        /* Pad block to 56 bytes */ 
     162        pj_memset(p, 0, count - 8); 
     163    } 
     164    byteReverse(ctx->in, 14); 
     165 
     166    /* Append length in bits and transform */ 
     167    ((pj_uint32_t *) ctx->in)[14] = ctx->bits[0]; 
     168    ((pj_uint32_t *) ctx->in)[15] = ctx->bits[1]; 
     169 
     170    MD5Transform(ctx->buf, (pj_uint32_t *) ctx->in); 
     171    byteReverse((unsigned char *) ctx->buf, 4); 
     172    pj_memcpy(digest, ctx->buf, 16); 
     173    pj_memset(ctx, 0, sizeof(ctx));     /* In case it's sensitive */ 
     174} 
     175 
     176#ifndef ASM_MD5 
     177 
     178/* The four core functions - F1 is optimized somewhat */ 
     179 
     180/* #define F1(x, y, z) (x & y | ~x & z) */ 
     181#define F1(x, y, z) (z ^ (x & (y ^ z))) 
     182#define F2(x, y, z) F1(z, x, y) 
     183#define F3(x, y, z) (x ^ y ^ z) 
     184#define F4(x, y, z) (y ^ (x | ~z)) 
     185 
     186/* This is the central step in the MD5 algorithm. */ 
     187#define MD5STEP(f, w, x, y, z, data, s) \ 
     188        ( w += f(x, y, z) + data,  w = w<<s | w>>(32-s),  w += x ) 
     189 
     190/* 
     191 * The core of the MD5 algorithm, this alters an existing MD5 hash to 
     192 * reflect the addition of 16 longwords of new data.  MD5Update blocks 
     193 * the data and converts bytes into longwords for this routine. 
     194 */ 
     195static void MD5Transform(pj_uint32_t buf[4], pj_uint32_t const in[16]) 
     196{ 
     197    register pj_uint32_t a, b, c, d; 
     198 
     199    a = buf[0]; 
     200    b = buf[1]; 
     201    c = buf[2]; 
     202    d = buf[3]; 
     203 
     204    MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); 
     205    MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); 
     206    MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); 
     207    MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); 
     208    MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); 
     209    MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); 
     210    MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); 
     211    MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22); 
     212    MD5STEP(F1, a, b, c, d, in[8] + 0x698098d8, 7); 
     213    MD5STEP(F1, d, a, b, c, in[9] + 0x8b44f7af, 12); 
     214    MD5STEP(F1, c, d, a, b, in[10] + 0xffff5bb1, 17); 
     215    MD5STEP(F1, b, c, d, a, in[11] + 0x895cd7be, 22); 
     216    MD5STEP(F1, a, b, c, d, in[12] + 0x6b901122, 7); 
     217    MD5STEP(F1, d, a, b, c, in[13] + 0xfd987193, 12); 
     218    MD5STEP(F1, c, d, a, b, in[14] + 0xa679438e, 17); 
     219    MD5STEP(F1, b, c, d, a, in[15] + 0x49b40821, 22); 
     220 
     221    MD5STEP(F2, a, b, c, d, in[1] + 0xf61e2562, 5); 
     222    MD5STEP(F2, d, a, b, c, in[6] + 0xc040b340, 9); 
     223    MD5STEP(F2, c, d, a, b, in[11] + 0x265e5a51, 14); 
     224    MD5STEP(F2, b, c, d, a, in[0] + 0xe9b6c7aa, 20); 
     225    MD5STEP(F2, a, b, c, d, in[5] + 0xd62f105d, 5); 
     226    MD5STEP(F2, d, a, b, c, in[10] + 0x02441453, 9); 
     227    MD5STEP(F2, c, d, a, b, in[15] + 0xd8a1e681, 14); 
     228    MD5STEP(F2, b, c, d, a, in[4] + 0xe7d3fbc8, 20); 
     229    MD5STEP(F2, a, b, c, d, in[9] + 0x21e1cde6, 5); 
     230    MD5STEP(F2, d, a, b, c, in[14] + 0xc33707d6, 9); 
     231    MD5STEP(F2, c, d, a, b, in[3] + 0xf4d50d87, 14); 
     232    MD5STEP(F2, b, c, d, a, in[8] + 0x455a14ed, 20); 
     233    MD5STEP(F2, a, b, c, d, in[13] + 0xa9e3e905, 5); 
     234    MD5STEP(F2, d, a, b, c, in[2] + 0xfcefa3f8, 9); 
     235    MD5STEP(F2, c, d, a, b, in[7] + 0x676f02d9, 14); 
     236    MD5STEP(F2, b, c, d, a, in[12] + 0x8d2a4c8a, 20); 
     237 
     238    MD5STEP(F3, a, b, c, d, in[5] + 0xfffa3942, 4); 
     239    MD5STEP(F3, d, a, b, c, in[8] + 0x8771f681, 11); 
     240    MD5STEP(F3, c, d, a, b, in[11] + 0x6d9d6122, 16); 
     241    MD5STEP(F3, b, c, d, a, in[14] + 0xfde5380c, 23); 
     242    MD5STEP(F3, a, b, c, d, in[1] + 0xa4beea44, 4); 
     243    MD5STEP(F3, d, a, b, c, in[4] + 0x4bdecfa9, 11); 
     244    MD5STEP(F3, c, d, a, b, in[7] + 0xf6bb4b60, 16); 
     245    MD5STEP(F3, b, c, d, a, in[10] + 0xbebfbc70, 23); 
     246    MD5STEP(F3, a, b, c, d, in[13] + 0x289b7ec6, 4); 
     247    MD5STEP(F3, d, a, b, c, in[0] + 0xeaa127fa, 11); 
     248    MD5STEP(F3, c, d, a, b, in[3] + 0xd4ef3085, 16); 
     249    MD5STEP(F3, b, c, d, a, in[6] + 0x04881d05, 23); 
     250    MD5STEP(F3, a, b, c, d, in[9] + 0xd9d4d039, 4); 
     251    MD5STEP(F3, d, a, b, c, in[12] + 0xe6db99e5, 11); 
     252    MD5STEP(F3, c, d, a, b, in[15] + 0x1fa27cf8, 16); 
     253    MD5STEP(F3, b, c, d, a, in[2] + 0xc4ac5665, 23); 
     254 
     255    MD5STEP(F4, a, b, c, d, in[0] + 0xf4292244, 6); 
     256    MD5STEP(F4, d, a, b, c, in[7] + 0x432aff97, 10); 
     257    MD5STEP(F4, c, d, a, b, in[14] + 0xab9423a7, 15); 
     258    MD5STEP(F4, b, c, d, a, in[5] + 0xfc93a039, 21); 
     259    MD5STEP(F4, a, b, c, d, in[12] + 0x655b59c3, 6); 
     260    MD5STEP(F4, d, a, b, c, in[3] + 0x8f0ccc92, 10); 
     261    MD5STEP(F4, c, d, a, b, in[10] + 0xffeff47d, 15); 
     262    MD5STEP(F4, b, c, d, a, in[1] + 0x85845dd1, 21); 
     263    MD5STEP(F4, a, b, c, d, in[8] + 0x6fa87e4f, 6); 
     264    MD5STEP(F4, d, a, b, c, in[15] + 0xfe2ce6e0, 10); 
     265    MD5STEP(F4, c, d, a, b, in[6] + 0xa3014314, 15); 
     266    MD5STEP(F4, b, c, d, a, in[13] + 0x4e0811a1, 21); 
     267    MD5STEP(F4, a, b, c, d, in[4] + 0xf7537e82, 6); 
     268    MD5STEP(F4, d, a, b, c, in[11] + 0xbd3af235, 10); 
     269    MD5STEP(F4, c, d, a, b, in[2] + 0x2ad7d2bb, 15); 
     270    MD5STEP(F4, b, c, d, a, in[9] + 0xeb86d391, 21); 
     271 
     272    buf[0] += a; 
     273    buf[1] += b; 
     274    buf[2] += c; 
     275    buf[3] += d; 
     276} 
     277 
     278#endif 
     279 
  • pjproject/trunk/pjlib-util/src/pjlib-util/scanner.c

    r49 r51  
    1 /* $Id$ 
    2  */ 
     1/* $Id$ */ 
    32/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C) 2003-2006 Benny Prijono <benny@prijono.org> 
    64 * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    99 * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1611 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2318 */ 
    2419#include <pjlib-util/scanner.h> 
  • pjproject/trunk/pjlib-util/src/pjlib-util/stun.c

    r49 r51  
    1 /* $Id$ 
    2  */ 
     1/* $Id$ */ 
    32/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C) 2003-2006 Benny Prijono <benny@prijono.org> 
    64 * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    99 * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1611 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2318 */ 
    2419#include <pjlib-util/stun.h> 
  • pjproject/trunk/pjlib-util/src/pjlib-util/stun_client.c

    • Property svn:keyword set to Id
    r49 r51  
    1 /* $Id$ 
    2  */ 
     1/* $Id$ */ 
    32/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C) 2003-2006 Benny Prijono <benny@prijono.org> 
    64 * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    99 * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1611 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2318 */ 
    2419#include <pjlib-util/stun.h> 
  • pjproject/trunk/pjlib-util/src/pjlib-util/symbols.c

    • Property svn:keyword set to Id
    r49 r51  
    11/* $Id$ */ 
    22/*  
    3  * PJLIB - PJ Foundation Library 
    4  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C) 2003-2006 Benny Prijono <benny@prijono.org> 
    54 * 
    6  * Author: 
    7  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    89 * 
    9  * This library is free software; you can redistribute it and/or 
    10  * modify it under the terms of the GNU Lesser General Public 
    11  * License as published by the Free Software Foundation; either 
    12  * version 2.1 of the License, or (at your option) any later version. 
    13  *  
    14  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1511 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    17  * Lesser General Public License for more details. 
    18  *  
    19  * You should have received a copy of the GNU Lesser General Public 
    20  * License along with this library; if not, write to the Free Software 
    21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2218 */ 
    2319#include <pjlib.h> 
  • pjproject/trunk/pjlib-util/src/pjlib-util/xml.c

    r49 r51  
    1 /* $Id$ 
    2  */ 
     1/* $Id$ */ 
    32/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C) 2003-2006 Benny Prijono <benny@prijono.org> 
    64 * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    99 * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1611 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2318 */ 
    2419#include <pjlib-util/xml.h> 
  • pjproject/trunk/pjlib/include/pj++/file.hpp

    r49 r51  
    1 /* $Id$  
    2  */ 
     1/* $Id$  */ 
    32/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    64 * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    99 * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1611 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2318 */ 
    2419#ifndef __PJPP_FILE_HPP__ 
  • pjproject/trunk/pjlib/include/pj++/hash.hpp

    r49 r51  
    1 /* $Id$ 
    2  */ 
     1/* $Id$ */ 
    32/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    64 * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    99 * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1611 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2318 */ 
    2419#ifndef __PJPP_HASH_HPP__ 
  • pjproject/trunk/pjlib/include/pj++/list.hpp

    r49 r51  
    1 /* $Id$ 
    2  */ 
     1/* $Id$ */ 
    32/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    64 * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    99 * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1611 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2318 */ 
    2419#ifndef __PJPP_LIST_HPP__ 
  • pjproject/trunk/pjlib/include/pj++/lock.hpp

    r49 r51  
    1 /* $Id$  
    2  */ 
     1/* $Id$  */ 
    32/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    64 * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    99 * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1611 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2318 */ 
    2419#ifndef __PJPP_LOCK_HPP__ 
  • pjproject/trunk/pjlib/include/pj++/os.hpp

    r49 r51  
    1 /* $Id$ 
    2  */ 
     1/* $Id$ */ 
    32/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    64 * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    99 * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1611 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2318 */ 
    2419#ifndef __PJPP_OS_HPP__ 
  • pjproject/trunk/pjlib/include/pj++/pool.hpp

    r49 r51  
    1 /* $Id$ 
    2  */ 
     1/* $Id$ */ 
    32/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    64 * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    99 * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1611 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2318 */ 
    2419#ifndef __PJPP_POOL_HPP__ 
  • pjproject/trunk/pjlib/include/pj++/proactor.hpp

    r49 r51  
    1 /* $Id$ 
    2  */ 
     1/* $Id$ */ 
    32/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    64 * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    99 * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1611 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2318 */ 
    2419#ifndef __PJPP_PROACTOR_HPP__ 
  • pjproject/trunk/pjlib/include/pj++/scanner.hpp

    r49 r51  
    1 /* $Id$ 
    2  */ 
     1/* $Id$ */ 
    32/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    64 * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    99 * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1611 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2318 */ 
    2419#ifndef __PJPP_SCANNER_HPP__ 
  • pjproject/trunk/pjlib/include/pj++/sock.hpp

    r49 r51  
    1 /* $Id$ 
    2  */ 
     1/* $Id$ */ 
    32/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    64 * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    99 * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1611 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2318 */ 
    2419#ifndef __PJPP_SOCK_HPP__ 
  • pjproject/trunk/pjlib/include/pj++/string.hpp

    r49 r51  
    1 /* $Id$ 
    2  */ 
     1/* $Id$ */ 
    32/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    64 * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    99 * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1611 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2318 */ 
    2419#ifndef __PJPP_STRING_HPP__ 
  • pjproject/trunk/pjlib/include/pj++/timer.hpp

    r49 r51  
    1 /* $Id$ 
    2  */ 
     1/* $Id$ */ 
    32/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    64 * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    99 * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1611 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2318 */ 
    2419#ifndef __PJPP_TIMER_HPP__ 
  • pjproject/trunk/pjlib/include/pj++/tree.hpp

    r49 r51  
    1 /* $Id$ 
    2  */ 
     1/* $Id$ */ 
    32/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    64 * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    99 * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1611 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2318 */ 
    2419#ifndef __PJPP_TREE_HPP__ 
  • pjproject/trunk/pjlib/include/pj++/types.hpp

    r49 r51  
    1 /* $Id$ 
    2  */ 
     1/* $Id$ */ 
    32/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    64 * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    99 * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1611 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2318 */ 
    2419#ifndef __PJPP_TYPES_HPP__ 
  • pjproject/trunk/pjlib/include/pj/addr_resolv.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
     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  
    218 */ 
    3 /*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    6  * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
    9  * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
    16  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    23  */ 
    24  
    2519#ifndef __PJ_ADDR_RESOLV_H__ 
    2620#define __PJ_ADDR_RESOLV_H__ 
  • pjproject/trunk/pjlib/include/pj/array.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2418 */ 
    2519#ifndef __PJ_ARRAY_H__ 
  • pjproject/trunk/pjlib/include/pj/assert.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2418 */ 
    2519#ifndef __PJ_ASSERT_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/assert.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/src/pj/compat/assert.h $ 
    26  *  
    27  * 3     9/22/05 10:31a Bennylp 
    28  * Moving all *.h files to include/. 
    29  *  
    30  * 2     9/21/05 1:39p Bennylp 
    31  * Periodic checkin for backup. 
    32  *  
    33  * 1     9/17/05 10:36a Bennylp 
    34  * Created. 
    35  *  
     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  
    3618 */ 
    3719#ifndef __PJ_COMPAT_ASSERT_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/cc_gcc.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/src/pj/compat/cc_gcc.h $ 
    26  *  
    27  * 2     9/17/05 10:37a Bennylp 
    28  * Major reorganization towards version 0.3. 
    29  *  
     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  
    3018 */ 
    3119#ifndef __PJ_COMPAT_CC_GCC_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/cc_msvc.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/include/pj/compat/cc_msvc.h $ 
    26  *  
    27  * 3     10/14/05 12:26a Bennylp 
    28  * Finished error code framework, some fixes in ioqueue, etc. Pretty 
    29  * major. 
    30  *  
    31  * 2     9/17/05 10:37a Bennylp 
    32  * Major reorganization towards version 0.3. 
    33  *  
     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  
    3418 */ 
    3519#ifndef __PJ_COMPAT_CC_MSVC_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/ctype.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/include/pj/compat/ctype.h $ 
    26  *  
    27  * 3     10/14/05 12:26a Bennylp 
    28  * Finished error code framework, some fixes in ioqueue, etc. Pretty 
    29  * major. 
    30  *  
    31  * 2     9/22/05 10:31a Bennylp 
    32  * Moving all *.h files to include/. 
    33  *  
    34  * 1     9/17/05 10:36a Bennylp 
    35  * Created. 
    36  *  
     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  
    3718 */ 
    3819#ifndef __PJ_COMPAT_CTYPE_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/errno.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2418 */ 
    2519#ifndef __PJ_COMPAT_ERRNO_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/high_precision.h

    r49 r51  
    11/* $Id$ */ 
    22/*  
    3  * PJLIB - PJ Foundation Library 
    4  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    54 * 
    6  * Author: 
    7  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    89 * 
    9  * This library is free software; you can redistribute it and/or 
    10  * modify it under the terms of the GNU Lesser General Public 
    11  * License as published by the Free Software Foundation; either 
    12  * version 2.1 of the License, or (at your option) any later version. 
    13  *  
    14  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1511 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    17  * Lesser General Public License for more details. 
    18  *  
    19  * You should have received a copy of the GNU Lesser General Public 
    20  * License along with this library; if not, write to the Free Software 
    21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2218 */ 
    2319#ifndef __PJ_COMPAT_HIGH_PRECISION_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/m_alpha.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /*  
    26  * $Log: /pjproject-0.3/pjlib/include/pj/compat/m_alpha.h $ 
    27  *  
    28  * 1     10/29/05 5:23p Bennylp 
    29  * Created. 
    30  *  
     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  
    3118 */ 
    3219#ifndef __PJ_COMPAT_M_ALPHA_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/m_i386.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/src/pj/compat/m_i386.h $ 
    26  *  
    27  * 3     9/21/05 1:39p Bennylp 
    28  * Periodic checkin for backup. 
    29  *  
    30  * 2     9/17/05 10:37a Bennylp 
    31  * Major reorganization towards version 0.3. 
    32  *  
     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  
    3318 */ 
    3419#ifndef __PJ_COMPAT_M_i386_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/m_m68k.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/src/pj/compat/m_m68k.h $ 
    26  *  
    27  * 2     9/17/05 10:37a Bennylp 
    28  * Major reorganization towards version 0.3. 
    29  *  
     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  
    3018 */ 
    3119#ifndef __PJ_COMPAT_M_M68K_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/m_sparc.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /*  
    26  *$Log:  $ 
    27  *  
     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  
    2818 */ 
    2919#ifndef __PJ_COMPAT_M_SPARC_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/malloc.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/src/pj/compat/malloc.h $ 
    26  *  
    27  * 2     9/17/05 10:37a Bennylp 
    28  * Major reorganization towards version 0.3. 
    29  *  
    30  * 1     9/16/05 10:02p Bennylp 
    31  * Created. 
    32  *  
     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  
    3318 */ 
    3419#ifndef __PJ_COMPAT_MALLOC_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/os_linux.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/include/pj/compat/os_linux.h $ 
    26  *  
    27  * 6     10/29/05 11:51a Bennylp 
    28  * Version 0.3-pre2. 
    29  *  
    30  * 5     10/14/05 12:26a Bennylp 
    31  * Finished error code framework, some fixes in ioqueue, etc. Pretty 
    32  * major. 
    33  *  
    34  * 4     9/22/05 10:31a Bennylp 
    35  * Moving all *.h files to include/. 
    36  *  
    37  * 3     9/21/05 1:39p Bennylp 
    38  * Periodic checkin for backup. 
    39  *  
    40  * 2     9/17/05 10:37a Bennylp 
    41  * Major reorganization towards version 0.3. 
    42  *  
     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  
    4318 */ 
    4419#ifndef __PJ_COMPAT_OS_LINUX_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/os_linux_kernel.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/include/pj/compat/os_linux_kernel.h $ 
    26  *  
    27  * 4     10/29/05 11:51a Bennylp 
    28  * Version 0.3-pre2. 
    29  *  
    30  * 3     10/14/05 12:26a Bennylp 
    31  * Finished error code framework, some fixes in ioqueue, etc. Pretty 
    32  * major. 
    33  *  
    34  * 2     9/22/05 10:31a Bennylp 
    35  * Moving all *.h files to include/. 
    36  *  
    37  * 1     9/21/05 1:38p Bennylp 
    38  * Created. 
    39  *  
     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  
    4018 */ 
    4119#ifndef __PJ_COMPAT_OS_LINUX_KERNEL_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/os_palmos.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/src/pj/compat/os_palmos.h $ 
    26  *  
    27  * 3     9/21/05 1:39p Bennylp 
    28  * Periodic checkin for backup. 
    29  *  
    30  * 2     9/17/05 10:37a Bennylp 
    31  * Major reorganization towards version 0.3. 
    32  *  
     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  
    3318 */ 
    3419#ifndef __PJ_COMPAT_OS_PALMOS_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/os_sunos.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log:  $ 
    26  *  
     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  
    2718 */ 
    2819#ifndef __PJ_COMPAT_OS_SUNOS_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/os_win32.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/include/pj/compat/os_win32.h $ 
    26  *  
    27  * 6     10/29/05 11:51a Bennylp 
    28  * Version 0.3-pre2. 
    29  *  
    30  * 5     10/14/05 12:26a Bennylp 
    31  * Finished error code framework, some fixes in ioqueue, etc. Pretty 
    32  * major. 
    33  *  
    34  * 4     9/22/05 10:31a Bennylp 
    35  * Moving all *.h files to include/. 
    36  *  
    37  * 3     9/21/05 1:39p Bennylp 
    38  * Periodic checkin for backup. 
    39  *  
    40  * 2     9/17/05 10:37a Bennylp 
    41  * Major reorganization towards version 0.3. 
    42  *  
     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  
    4318 */ 
    4419#ifndef __PJ_COMPAT_OS_WIN32_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/rand.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/include/pj/compat/rand.h $ 
    26  *  
    27  * 3     10/14/05 12:26a Bennylp 
    28  * Finished error code framework, some fixes in ioqueue, etc. Pretty 
    29  * major. 
    30  *  
    31  * 2     9/21/05 1:39p Bennylp 
    32  * Periodic checkin for backup. 
    33  *  
    34  * 1     9/17/05 10:36a Bennylp 
    35  * Created. 
    36  *  
     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  
    3718 */ 
    3819#ifndef __PJ_COMPAT_RAND_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/setjmp.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/include/pj/compat/setjmp.h $ 
    26  *  
    27  * 4     10/14/05 12:26a Bennylp 
    28  * Finished error code framework, some fixes in ioqueue, etc. Pretty 
    29  * major. 
    30  *  
    31  * 3     9/22/05 10:31a Bennylp 
    32  * Moving all *.h files to include/. 
    33  *  
    34  * 2     9/21/05 1:39p Bennylp 
    35  * Periodic checkin for backup. 
    36  *  
    37  * 1     9/17/05 10:36a Bennylp 
    38  * Created. 
    39  *  
     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  
    4018 */ 
    4119#ifndef __PJ_COMPAT_SETJMP_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/size_t.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/src/pj/compat/size_t.h $ 
    26  *  
    27  * 2     9/21/05 1:39p Bennylp 
    28  * Periodic checkin for backup. 
    29  *  
    30  * 1     9/17/05 10:36a Bennylp 
    31  * Created. 
    32  *  
     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  
    3318 */ 
    3419#ifndef __PJ_COMPAT_SIZE_T_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/socket.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3 */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/include/pj/compat/socket.h $ 
    26  *  
    27  * 5     10/29/05 11:51a Bennylp 
    28  * Version 0.3-pre2. 
    29  *  
    30  * 4     10/14/05 12:26a Bennylp 
    31  * Finished error code framework, some fixes in ioqueue, etc. Pretty 
    32  * major. 
    33  *  
    34  * 3     9/21/05 1:39p Bennylp 
    35  * Periodic checkin for backup. 
    36  *  
    37  * 2     9/17/05 10:37a Bennylp 
    38  * Major reorganization towards version 0.3. 
    39  *  
     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  
    4018 */ 
    4119#ifndef __PJ_COMPAT_SOCKET_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/sprintf.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/include/pj/compat/sprintf.h $ 
    26  *  
    27  * 2     10/14/05 12:26a Bennylp 
    28  * Finished error code framework, some fixes in ioqueue, etc. Pretty 
    29  * major. 
    30  *  
    31  * 1     9/17/05 10:36a Bennylp 
    32  * Created. 
    33  *  
     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  
    3418 */ 
    3519#ifndef __PJ_COMPAT_SPRINTF_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/stdarg.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/src/pj/compat/stdarg.h $ 
    26  *  
    27  * 1     9/17/05 10:36a Bennylp 
    28  * Created. 
    29  *  
     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  
    3018 */ 
    3119#ifndef __PJ_COMPAT_STDARG_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/stdfileio.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/src/pj/compat/stdfileio.h $ 
    26  *  
    27  * 1     9/17/05 10:36a Bennylp 
    28  * Created. 
    29  *  
     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  
    3018 */ 
    3119#ifndef __PJ_COMPAT_STDFILEIO_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/string.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/src/pj/compat/string.h $ 
    26  *  
    27  * 3     9/22/05 10:31a Bennylp 
    28  * Moving all *.h files to include/. 
    29  *  
    30  * 2     9/21/05 1:39p Bennylp 
    31  * Periodic checkin for backup. 
    32  *  
    33  * 1     9/17/05 10:36a Bennylp 
    34  * Created. 
    35  *  
     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  
    3618 */ 
    3719#ifndef __PJ_COMPAT_STRING_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/time.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/src/pj/compat/time.h $ 
    26  *  
    27  * 1     9/17/05 10:36a Bennylp 
    28  * Created. 
    29  *  
     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  
    3018 */ 
    3119#ifndef __PJ_COMPAT_TIME_H__ 
  • pjproject/trunk/pjlib/include/pj/compat/vsprintf.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/src/pj/compat/vsprintf.h $ 
    26  *  
    27  * 1     9/17/05 10:36a Bennylp 
    28  * Created. 
    29  *  
     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  
    3018 */ 
    3119#ifndef __PJ_COMPAT_VSPRINTF_H__ 
  • pjproject/trunk/pjlib/include/pj/config.h

    r49 r51  
    1 /* $Id$ 
    2  * 
    3  */ 
     1/* $Id$ */ 
    42/*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    7  * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
    10  * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
     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, 
    1711 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25  
     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 */ 
    2619#ifndef __PJ_CONFIG_H__ 
    2720#define __PJ_CONFIG_H__ 
  • pjproject/trunk/pjlib/include/pj/ctype.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2418 */ 
    2519#ifndef __PJ_CTYPE_H__ 
  • pjproject/trunk/pjlib/include/pj/doxygen.h

    r49 r51  
    1 /* $Id$ 
    2  * 
    3  */ 
     1/* $Id$ */ 
    42/*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    7  * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
    10  * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
     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, 
    1711 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2418 */ 
    2519#ifndef __PJ_DOXYGEN_H__ 
  • pjproject/trunk/pjlib/include/pj/equeue.h

    r49 r51  
    1 /* $Id$ 
    2  * 
    3  */ 
     1/* $Id$ */ 
    42/*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    7  * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
    10  * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
     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, 
    1711 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2418 */ 
    2519#ifndef __PJ_EQUEUE_H__ 
  • pjproject/trunk/pjlib/include/pj/errno.h

    r49 r51  
    1 /* $Id$ 
    2  * 
    3  */ 
     1/* $Id$ */ 
    42/*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    7  * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
    10  * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
     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, 
    1711 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2418 */ 
    2519#ifndef __PJ_ERRNO_H__ 
  • pjproject/trunk/pjlib/include/pj/except.h

    r49 r51  
    1 /* $Id$ 
    2  * 
    3  */ 
     1/* $Id$ */ 
    42/*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    7  * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
    10  * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
     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, 
    1711 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25  
     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 */ 
    2619#ifndef __PJ_EXCEPTION_H__ 
    2720#define __PJ_EXCEPTION_H__ 
  • pjproject/trunk/pjlib/include/pj/fifobuf.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
     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  
    318 */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    7  * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
    10  * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25  
    2619#ifndef __PJ_FIFOBUF_H__ 
    2720#define __PJ_FIFOBUF_H__ 
  • pjproject/trunk/pjlib/include/pj/file_access.h

    • Property svn:keyword set to Id
    r49 r51  
    11/* $Id */ 
    22/*  
    3  * PJLIB - PJ Foundation Library 
    4  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    54 * 
    6  * Author: 
    7  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    89 * 
    9  * This library is free software; you can redistribute it and/or 
    10  * modify it under the terms of the GNU Lesser General Public 
    11  * License as published by the Free Software Foundation; either 
    12  * version 2.1 of the License, or (at your option) any later version. 
    13  *  
    14  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1511 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    17  * Lesser General Public License for more details. 
    18  *  
    19  * You should have received a copy of the GNU Lesser General Public 
    20  * License along with this library; if not, write to the Free Software 
    21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2218 */ 
    2319#ifndef __PJ_FILE_ACCESS_H__ 
  • pjproject/trunk/pjlib/include/pj/file_io.h

    r49 r51  
    11/* $Id$ */ 
    22/*  
    3  * PJLIB - PJ Foundation Library 
    4  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    54 * 
    6  * Author: 
    7  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    89 * 
    9  * This library is free software; you can redistribute it and/or 
    10  * modify it under the terms of the GNU Lesser General Public 
    11  * License as published by the Free Software Foundation; either 
    12  * version 2.1 of the License, or (at your option) any later version. 
    13  *  
    14  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1511 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    17  * Lesser General Public License for more details. 
    18  *  
    19  * You should have received a copy of the GNU Lesser General Public 
    20  * License along with this library; if not, write to the Free Software 
    21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2218 */ 
    2319#ifndef __PJ_FILE_IO_H__ 
  • pjproject/trunk/pjlib/include/pj/guid.h

    • Property svn:keyword set to Id
    r49 r51  
    1 /* $header: $ */ 
     1/* $Id */ 
    22/*  
    3  * PJLIB - PJ Foundation Library 
    4  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    54 * 
    6  * Author: 
    7  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    89 * 
    9  * This library is free software; you can redistribute it and/or 
    10  * modify it under the terms of the GNU Lesser General Public 
    11  * License as published by the Free Software Foundation; either 
    12  * version 2.1 of the License, or (at your option) any later version. 
    13  *  
    14  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1511 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    17  * Lesser General Public License for more details. 
    18  *  
    19  * You should have received a copy of the GNU Lesser General Public 
    20  * License along with this library; if not, write to the Free Software 
    21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2218 */ 
    23  
    2419#ifndef __PJ_GUID_H__ 
    2520#define __PJ_GUID_H__ 
  • pjproject/trunk/pjlib/include/pj/hash.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
     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  
    318 */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    7  * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
    10  * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25  
    2619#ifndef __PJ_HASH_H__ 
    2720#define __PJ_HASH_H__ 
  • pjproject/trunk/pjlib/include/pj/ioqueue.h

    r49 r51  
    22 */ 
    33/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    6  * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
    9  * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     4 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
     5 * 
     6 * This program is free software; you can redistribute it and/or modify 
     7 * it under the terms of the GNU General Public License as published by 
     8 * the Free Software Foundation; either version 2 of the License, or 
     9 * (at your option) any later version. 
     10 * 
     11 * This program is distributed in the hope that it will be useful, 
    1612 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    23  */ 
    24  
     13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     14 * GNU General Public License for more details. 
     15 * 
     16 * You should have received a copy of the GNU General Public License 
     17 * along with this program; if not, write to the Free Software 
     18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  
     19 */ 
    2520#ifndef __PJ_IOQUEUE_H__ 
    2621#define __PJ_IOQUEUE_H__ 
  • pjproject/trunk/pjlib/include/pj/list.h

    r49 r51  
    1 /* $Id$ 
    2  * 
    3  */ 
     1/* $Id$ */ 
    42/*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    7  * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
    10  * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
     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, 
    1711 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25  
     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 */ 
    2619#ifndef __PJ_LIST_H__ 
    2720#define __PJ_LIST_H__ 
  • pjproject/trunk/pjlib/include/pj/list_i.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2418 */ 
    2519 
  • pjproject/trunk/pjlib/include/pj/lock.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2418 */ 
    2519#ifndef __PJ_LOCK_H__ 
  • pjproject/trunk/pjlib/include/pj/log.h

    r49 r51  
    1 /* $Id$ 
    2  * 
    3  */ 
     1/* $Id$ */ 
    42/*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    7  * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
    10  * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
     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, 
    1711 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25  
     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 */ 
    2619#ifndef __PJ_LOG_H__ 
    2720#define __PJ_LOG_H__ 
  • pjproject/trunk/pjlib/include/pj/os.h

    r49 r51  
    1 /* $Id$ 
    2  * 
    3  */ 
     1/* $Id$ */ 
    42/*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    7  * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
    10  * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
     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, 
    1711 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25  
     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 */ 
    2619#ifndef __PJ_OS_H__ 
    2720#define __PJ_OS_H__ 
  • pjproject/trunk/pjlib/include/pj/pool.h

    r49 r51  
    1 /* $Id$ 
    2  * 
    3  */ 
     1/* $Id$ */ 
    42/*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    7  * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
    10  * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
     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, 
    1711 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25  
     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 */ 
    2619#ifndef __PJ_POOL_H__ 
    2720#define __PJ_POOL_H__ 
  • pjproject/trunk/pjlib/include/pj/pool_i.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2418 */ 
    2519 
  • pjproject/trunk/pjlib/include/pj/rand.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/include/pj/rand.h $ 
    26  *  
    27  * 3     10/14/05 12:26a Bennylp 
    28  * Finished error code framework, some fixes in ioqueue, etc. Pretty 
    29  * major. 
    30  *  
    31  * 2     9/17/05 10:37a Bennylp 
    32  * Major reorganization towards version 0.3. 
    33  *  
    34  * 1     9/15/05 8:40p Bennylp 
    35  * Created. 
     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  
    3618 */ 
    3719#ifndef __PJ_RAND_H__ 
  • pjproject/trunk/pjlib/include/pj/rbtree.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25  
     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 */ 
    2619#ifndef __PJ_RBTREE_H__ 
    2720#define __PJ_RBTREE_H__ 
  • pjproject/trunk/pjlib/include/pj/sock.h

    r49 r51  
    1 /* $Id$ 
    2  * 
    3  */ 
     1/* $Id$ */ 
    42/*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    7  * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
    10  * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
     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, 
    1711 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25  
     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 */ 
    2619#ifndef __PJ_SOCK_H__ 
    2720#define __PJ_SOCK_H__ 
  • pjproject/trunk/pjlib/include/pj/sock_select.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* $Log: /pjproject-0.3/pjlib/include/pj/sock_select.h $ 
    26  *  
    27  * 3     10/14/05 12:26a Bennylp 
    28  * Finished error code framework, some fixes in ioqueue, etc. Pretty 
    29  * major. 
    30  *  
    31  * 2     9/21/05 1:39p Bennylp 
    32  * Periodic checkin for backup. 
    33  *  
    34  * 1     9/15/05 8:40p Bennylp 
    35  * Created. 
     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  
    3618 */ 
    3719#ifndef __PJ_SELECT_H__ 
  • pjproject/trunk/pjlib/include/pj/string.h

    r49 r51  
    1 /* $Id$ 
    2  * 
    3  */ 
     1/* $Id$ */ 
    42/*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    7  * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
    10  * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
     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, 
    1711 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25  
     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 */ 
    2619#ifndef __PJ_STRING_H__ 
    2720#define __PJ_STRING_H__ 
  • pjproject/trunk/pjlib/include/pj/string_i.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2418 */ 
    2519 
  • pjproject/trunk/pjlib/include/pj/timer.h

    r49 r51  
    1 /* $Id$ 
    2  * 
    3  */ 
     1/* $Id$ */ 
    42/*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    7  * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
    10  * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
     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, 
    1711 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
    25 /* (C)1993-2003 Douglas C. Schmidt 
    26  * 
    27  * This file is originaly from ACE library by Doug Schmidt 
    28  * ACE(TM), TAO(TM) and CIAO(TM) are copyrighted by Douglas C. Schmidt and his research  
    29  * group at Washington University, University of California, Irvine, and Vanderbilt  
    30  * University Copyright (c) 1993-2003, all rights reserved. 
    31  * 
     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  
    3218 */ 
    3319 
  • pjproject/trunk/pjlib/include/pj/types.h

    r49 r51  
    11/* $Id$ */ 
    22/*  
    3  * PJLIB - PJ Foundation Library 
    4  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    5  * 
    6  * Author: 
    7  *  Benny Prijono <bennylp@bulukucing.org> 
    8  * 
    9  * This library is free software; you can redistribute it and/or 
    10  * modify it under the terms of the GNU Lesser General Public 
    11  * License as published by the Free Software Foundation; either 
    12  * version 2.1 of the License, or (at your option) any later version. 
    13  *  
    14  * This library is distributed in the hope that it will be useful, 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
     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, 
    1511 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    17  * Lesser General Public License for more details. 
    18  *  
    19  * You should have received a copy of the GNU Lesser General Public 
    20  * License along with this library; if not, write to the Free Software 
    21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    22  */ 
    23  
     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 */ 
    2419#ifndef __PJ_TYPES_H__ 
    2520#define __PJ_TYPES_H__ 
  • pjproject/trunk/pjlib/include/pjlib++.hpp

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2418 */ 
    2519#ifndef __PJLIBPP_H__ 
     
    2822#include <pj++/pool.hpp> 
    2923#include <pj++/hash.hpp> 
    30 //#include <pj++/ioqueue.hpp> 
    3124#include <pj++/list.hpp> 
    3225#include <pj++/os.hpp> 
  • pjproject/trunk/pjlib/include/pjlib.h

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
     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  
    318 */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
    7  * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
    10  * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    24  */ 
     19 
    2520#ifndef __PJLIB_H__ 
    2621#define __PJLIB_H__ 
  • pjproject/trunk/pjlib/src/pj/addr_resolv_linux_kernel.c

    r49 r51  
    1 /* $Id$ 
     1/* $Id$ */ 
     2/*  
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    24 * 
    3  */ 
    4 /*  
    5  * PJLIB - PJ Foundation Library 
    6  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     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. 
    79 * 
    8  * Author: 
    9  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    1014 * 
    11  * This library is free software; you can redistribute it and/or 
    12  * modify it under the terms of the GNU Lesser General Public 
    13  * License as published by the Free Software Foundation; either 
    14  * version 2.1 of the License, or (at your option) any later version. 
    15  *  
    16  * This library is distributed in the hope that it will be useful, 
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    19  * Lesser General Public License for more details. 
    20  *  
    21  * You should have received a copy of the GNU Lesser General Public 
    22  * License along with this library; if not, write to the Free Software 
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2418 */ 
    2519#include <pj/addr_resolv.h> 
  • pjproject/trunk/pjlib/src/pj/addr_resolv_sock.c

    r49 r51  
    1 /* $Id$ 
    2  */ 
     1/* $Id$ */ 
    32/*  
    4  * PJLIB - PJ Foundation Library 
    5  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    64 * 
    7  * Author: 
    8  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    99 * 
    10  * This library is free software; you can redistribute it and/or 
    11  * modify it under the terms of the GNU Lesser General Public 
    12  * License as published by the Free Software Foundation; either 
    13  * version 2.1 of the License, or (at your option) any later version. 
    14  *  
    15  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1611 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    18  * Lesser General Public License for more details. 
    19  *  
    20  * You should have received a copy of the GNU Lesser General Public 
    21  * License along with this library; if not, write to the Free Software 
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2318 */ 
    2419#include <pj/addr_resolv.h> 
  • pjproject/trunk/pjlib/src/pj/array.c

    r49 r51  
    11/* $Id$ */ 
    22/*  
    3  * PJLIB - PJ Foundation Library 
    4  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    54 * 
    6  * Author: 
    7  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    89 * 
    9  * This library is free software; you can redistribute it and/or 
    10  * modify it under the terms of the GNU Lesser General Public 
    11  * License as published by the Free Software Foundation; either 
    12  * version 2.1 of the License, or (at your option) any later version. 
    13  *  
    14  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1511 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    17  * Lesser General Public License for more details. 
    18  *  
    19  * You should have received a copy of the GNU Lesser General Public 
    20  * License along with this library; if not, write to the Free Software 
    21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2218 */ 
    2319#include <pj/array.h> 
  • pjproject/trunk/pjlib/src/pj/compat/sigjmp.c

    r49 r51  
    11/* $Id$ */ 
    22/*  
    3  * PJLIB - PJ Foundation Library 
    4  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    54 * 
    6  * Author: 
    7  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    89 * 
    9  * This library is free software; you can redistribute it and/or 
    10  * modify it under the terms of the GNU Lesser General Public 
    11  * License as published by the Free Software Foundation; either 
    12  * version 2.1 of the License, or (at your option) any later version. 
    13  *  
    14  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1511 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    17  * Lesser General Public License for more details. 
    18  *  
    19  * You should have received a copy of the GNU Lesser General Public 
    20  * License along with this library; if not, write to the Free Software 
    21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2218 */ 
    2319#include <pj/config.h> 
  • pjproject/trunk/pjlib/src/pj/compat/string.c

    r49 r51  
    11/* $Id$ */ 
    22/*  
    3  * PJLIB - PJ Foundation Library 
    4  * (C)2003-2005 Benny Prijono <bennylp@bulukucing.org> 
     3 * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> 
    54 * 
    6  * Author: 
    7  *  Benny Prijono <bennylp@bulukucing.org> 
     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. 
    89 * 
    9  * This library is free software; you can redistribute it and/or 
    10  * modify it under the terms of the GNU Lesser General Public 
    11  * License as published by the Free Software Foundation; either 
    12  * version 2.1 of the License, or (at your option) any later version. 
    13  *  
    14  * This library is distributed in the hope that it will be useful, 
     10 * This program is distributed in the hope that it will be useful, 
    1511 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    17  * Lesser General Public License for more details. 
    18  *  
    19  * You should have received a copy of the GNU Lesser General Public 
    20  * License along with this library; if not, write to the Free Software 
    21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     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  
    2218 */ 
    2319#include <pj/types.h> 
  • pjproject/trunk/pjlib/src/pj/config.c