diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-20 02:34:57 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-20 02:34:57 +0000 |
commit | 5c1001ce4f585836e1f83c28d1df89aee42fb743 (patch) | |
tree | 5967e9ca7d44ed1d2823be9746817ebb8e025f5d /apps/JAWS/clients/WebSTONE/src/nsapi-includes/frame/func.h | |
parent | 2ae14b2b85ad813a269e8a5529aa76cf984fa8a5 (diff) | |
download | ATCD-5c1001ce4f585836e1f83c28d1df89aee42fb743.tar.gz |
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'apps/JAWS/clients/WebSTONE/src/nsapi-includes/frame/func.h')
-rw-r--r-- | apps/JAWS/clients/WebSTONE/src/nsapi-includes/frame/func.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/apps/JAWS/clients/WebSTONE/src/nsapi-includes/frame/func.h b/apps/JAWS/clients/WebSTONE/src/nsapi-includes/frame/func.h index 45383c76d23..7bce6c285ba 100644 --- a/apps/JAWS/clients/WebSTONE/src/nsapi-includes/frame/func.h +++ b/apps/JAWS/clients/WebSTONE/src/nsapi-includes/frame/func.h @@ -1,7 +1,7 @@ /* * Copyright (c) 1994, 1995. Netscape Communications Corporation. All * rights reserved. - * + * * Use of this software is governed by the terms of the license agreement for * the Netscape Communications or Netscape Comemrce Server between the * parties. @@ -13,11 +13,11 @@ /* * func.h: Handles the function hash table - * + * * httpd uses a table of internal functions hashed by a name string such that * users can reference specific functions from the configuration files. - * - * Any function referenced by configuration files will be passed a + * + * Any function referenced by configuration files will be passed a * parameter, a Request structure. The functions do not return anything. * * Rob McCool @@ -44,8 +44,8 @@ typedef int Func(pblock *, Session *, Request *); typedef Func *FuncPtr; /* - * FuncStruct is a structure used in the static declaration of the - * functions. This static declaration is parsed into a hash table at + * FuncStruct is a structure used in the static declaration of the + * functions. This static declaration is parsed into a hash table at * startup. You should initialize the next entry to NULL. */ @@ -59,7 +59,7 @@ struct FuncStruct { /* --------------------------- Hash definitions --------------------------- */ -/* +/* * This is a primitive hash function. Once more is known about the names of * the functions, this will be optimized. */ @@ -72,7 +72,7 @@ struct FuncStruct { /* - * func_init reads the static FuncStruct arrays and creates the global + * func_init reads the static FuncStruct arrays and creates the global * function table from them. * * func_init will only read from the static arrays defined in func.c. @@ -91,7 +91,7 @@ FuncPtr func_find(char *name); * func_exec will try to execute the function whose name is the "fn" entry * in the given pblock. If name is not found, it will log a misconfig of * missing fn parameter. If it can't find it, it will log that. In these - * cases it will return REQ_ABORTED. Otherwise, it will return what the + * cases it will return REQ_ABORTED. Otherwise, it will return what the * function being executed returns. */ @@ -99,8 +99,8 @@ int func_exec(pblock *pb, Session *sn, Request *rq); /* * func_insert dynamically inserts a named function into the server's - * table of functions. Returns the FuncStruct it keeps in internal - * databases, because on server restart you are responsible for freeing + * table of functions. Returns the FuncStruct it keeps in internal + * databases, because on server restart you are responsible for freeing * (or not) its contents. */ |