aboutsummaryrefslogtreecommitdiff
path: root/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'logger.c')
-rw-r--r--logger.c43
1 files changed, 43 insertions, 0 deletions
diff --git a/logger.c b/logger.c
index bd9eed9f6..2c460cc07 100644
--- a/logger.c
+++ b/logger.c
@@ -50,6 +50,8 @@ extern CODE facilitynames[];
50 * this function is based on code 50 * this function is based on code
51 * Copyright (c) 1983, 1993 51 * Copyright (c) 1983, 1993
52 * The Regents of the University of California. All rights reserved. 52 * The Regents of the University of California. All rights reserved.
53 *
54 * Original copyright notice is retained at the end of this file.
53 */ 55 */
54static int decode(char *name, CODE * codetab) 56static int decode(char *name, CODE * codetab)
55{ 57{
@@ -70,6 +72,8 @@ static int decode(char *name, CODE * codetab)
70 * this function is based on code 72 * this function is based on code
71 * Copyright (c) 1983, 1993 73 * Copyright (c) 1983, 1993
72 * The Regents of the University of California. All rights reserved. 74 * The Regents of the University of California. All rights reserved.
75 *
76 * Original copyright notice is retained at the end of this file.
73 */ 77 */
74static int pencode(char *s) 78static int pencode(char *s)
75{ 79{
@@ -157,3 +161,42 @@ extern int logger_main(int argc, char **argv)
157 161
158 return EXIT_SUCCESS; 162 return EXIT_SUCCESS;
159} 163}
164
165
166/*-
167 * Copyright (c) 1983, 1993
168 * The Regents of the University of California. All rights reserved.
169 *
170 * This is the original license statement for the decode and pencode functions.
171 *
172 * Redistribution and use in source and binary forms, with or without
173 * modification, are permitted provided that the following conditions
174 * are met:
175 * 1. Redistributions of source code must retain the above copyright
176 * notice, this list of conditions and the following disclaimer.
177 * 2. Redistributions in binary form must reproduce the above copyright
178 * notice, this list of conditions and the following disclaimer in the
179 * documentation and/or other materials provided with the distribution.
180 *
181 * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change
182 * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change>
183 *
184 * 4. Neither the name of the University nor the names of its contributors
185 * may be used to endorse or promote products derived from this software
186 * without specific prior written permission.
187 *
188 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
189 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
190 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
191 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
192 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
193 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
194 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
195 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
196 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
197 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
198 * SUCH DAMAGE.
199 */
200
201
202