@@ -14,33 +14,33 @@ =20 - + =20 - + =20 - + =20 -= += =20 - + =20 - + =20 - + =20 - + =20 - + =20 - + =20 - + =20 - + =20 - + =20 - + =20 apr_proc_t @@ -62,32 +62,32 @@ =20 - =20 - =20 - =20 - =20 @@ -144,7 +144,7 @@ =20 =20 - + =20 =20 @@ -154,33 +154,37 @@ =20 =20 - + =20 - + =20 - + =20 - + =20 - + =20 - + =20 - + =20 - + =20 - + =20 - + =20 -= + =20 - + + += + + =20
struct &nb= sp;apr_proc_t

## Defines

#define&nb= sp;APR_PROC_CHECK_EXIT(x)  &= nbsp;(x & APR_PROC_EXIT)
#define&nb= sp;APR_PROC_CHECK_EXIT(x)  &= nbsp;(x & APR_PROC_EXIT)
#define&nb= sp;APR_PROC_CHECK_SIGNALED(x) &nb= sp; (x & APR_PROC_SIGNAL)
#define&nb= sp;APR_PROC_CHECK_SIGNALED(x) &nb= sp; (x & APR_PROC_SIGNAL)
#define&nb= sp;APR_PROC_CHECK_CORE_DUMP(x) &n= bsp; (x & APR_PROC_SIGNAL_CORE)
#define&nb= sp;APR_PROC_CHECK_CORE_DUMP(x) &n= bsp; (x & APR_PROC_SIGNAL_CORE)
#define&nb= sp;APR_NO_PIPE   0
#define&nb= sp;APR_NO_PIPE   0
#define&nb= sp;APR_FULL_BLOCK   1
#define&nb= sp;APR_FULL_BLOCK   1
#define&nb= sp;APR_FULL_NONBLOCK   = 2
#define&nb= sp;APR_FULL_NONBLOCK   = 2
#define&nb= sp;APR_PARENT_BLOCK   3=
#define&nb= sp;APR_PARENT_BLOCK   3=
#define&nb= sp;APR_CHILD_BLOCK   4<= /td>
#define&nb= sp;APR_CHILD_BLOCK   4<= /td>
#define&nb= sp;APR_LIMIT_CPU   0
#define&nb= sp;APR_LIMIT_CPU   0
#define&nb= sp;APR_LIMIT_MEM   1
#define&nb= sp;APR_LIMIT_MEM   1
#define&nb= sp;APR_LIMIT_NPROC   2<= /td>
#define&nb= sp;APR_LIMIT_NPROC   2<= /td>
#define&nb= sp;APR_LIMIT_NOFILE   3=
#define&nb= sp;APR_LIMIT_NOFILE   3=
#define&nb= sp;APR_PROC_DETACH_FOREGROUND &nb= sp; 0
#define&nb= sp;APR_PROC_DETACH_FOREGROUND &nb= sp; 0 /**< Do not detach */
#define&nb= sp;APR_PROC_DETACH_DAEMONIZE &nbs= p; 1
#define&nb= sp;APR_PROC_DETACH_DAEMONIZE &nbs= p; 1 /**< Detach */

## Typedefs

typedef apr_proc_t

## Enumerations

enum  = ;apr_cmdtype_e {
-  APR_SHELLCMD,=20 -APR_PROGRA= M,=20 -APR_PROGRA= M_ENV,=20 -APR_PROGRA= M_PATH,=20 +
enum  = ;apr_cmdtype_e {
+  APR_SHELLCMD,=20 +APR_PROGRA= M,=20 +APR_PROGRA= M_ENV,=20 +APR_PROGRA= M_PATH,=20
-  APR_SHELLCMD_ENV +  APR_SHELLCMD_ENV
}
enum  = ;apr_wait_how_e { APR_WAIT,=20 -APR_NOWAIT= +
enum  = ;apr_wait_how_e { APR_WAIT,=20 +APR_NOWAIT= }
enum  = ;apr_exit_why_e { APR_PROC_EXIT =3D 1,=20 -APR_PROC_S= IGNAL =3D 2,=20 -APR_PROC_S= IGNAL_CORE =3D 4 +
enum  = ;apr_exit_why_e { APR_PROC_EXIT =3D 1,=20 +APR_PROC_S= IGNAL =3D 2,=20 +APR_PROC_S= IGNAL_CORE =3D 4 }
enum  = ;apr_kill_conditions_e {
-  APR_KILL_NEVER,=20 -APR_KILL_A= LWAYS,=20 -APR_KILL_A= FTER_TIMEOUT,=20 -APR_JUST_W= AIT,=20 +
enum  = ;apr_kill_conditions_e {
+  APR_KILL_NEVER,=20 +APR_KILL_A= LWAYS,=20 +APR_KILL_A= FTER_TIMEOUT,=20 +APR_JUST_W= AIT,=20
-  APR_KILL_ONLY_ONCE +  APR_KILL_ONLY_ONCE
}
apr_status_t apr_procattr_dir_set (apr_procattr_t *attr, const char *dir= )
apr_status_t apr_procattr_cmdtype_set (apr_procattr_t *attr, apr_cmdtype_e cmd)<= /td>
apr_status_t apr_procattr_cmdtype_set (apr_procattr_t *attr, apr_cmdtype_e cmd)<= /td>
apr_status_t apr_procattr_detach_set (apr_procattr_t *attr, apr_int32_= t detach)
apr_status_t apr_proc_create (apr_proc_t *new_proc, const char *progname, const ch= ar *const *args, const char *const *env, apr_procattr_t *attr, apr_pool_t *pool)
apr_status_t apr_procattr_user_set (apr_procattr_t *attr, const char *us= ername, const char *password)
apr_status_t apr_proc_wait (apr_proc_t *proc, int *exitcode, apr_exit_why_e *exitwhy, apr_wait_how_e wa= ithow)
apr_status_t apr_procattr_group_set (apr_procattr_t *attr, const char *g= roupname)
apr_status_t apr_proc_wait_all_procs (apr_proc_t *proc, int *exitcode, apr_exit_why_e *exi= twhy, apr_wait_= how_e waithow, apr_= pool_t *p)
apr_status_t apr_proc_create (apr_proc_t *new_proc, const char *progname, const ch= ar *const *args, const char *const *env, apr_procattr_t *attr, apr_pool_t *pool)
apr_status_t apr_proc_detach (int daemonize)
apr_status_t apr_proc_wait (apr_proc_t *proc, int *exitcode, apr_exit_why_e *exitwhy, apr_wait_how_e wa= ithow)
void = apr_proc_other_child_register (apr_proc_t *proc, void(*maint= enance)(int reason, void *, int status), void *data, apr_file_t *write_fd, apr_pool_t *p)
apr_status_t apr_proc_wait_all_procs (apr_proc_t *proc, int *exitcode, apr_exit_why_e *exi= twhy, apr_wait_= how_e waithow, apr_= pool_t *p)
void = apr_proc_other_child_unregister (void = *data)
apr_status_t apr_proc_detach (int daemonize)
apr_status_t apr_proc_other_child_alert (apr_proc_t *proc, int reason, int status)=
void = apr_proc_other_child_register (apr_proc_t *proc, void(*maint= enance)(int reason, void *, int status), void *data, apr_file_t *write_fd, apr_pool_t *p)
void = apr_proc_other_child_refresh (apr_other_child_rec_t *ocr, int reason)
void = apr_proc_other_child_unregister (void = *data)
void = apr_proc_other_child_refresh_all (int = reason)
apr_status_t apr_proc_other_child_alert (apr_proc_t *proc, int reason, int status)=
apr_status_t apr_proc_kill (apr_proc_t *proc, int sig)
void = apr_proc_other_child_refresh (apr_other_child_rec_t *ocr, int reason)
void = apr_pool_note_subprocess (apr_pool_t *a, apr_proc_t *proc, apr_kill_conditions_e how)
void = apr_proc_other_child_refresh_all (int = reason)
apr_status_t apr_proc_kill (apr_proc_t *proc, int sig)
void = apr_pool_note_subprocess (apr_pool_t *a, apr_proc_t *proc, apr_kill_conditions_e how)

## Define Documentation

-

+

 @@ -204,7 +208,7 @@
-

+

 @@ -228,7 +232,7 @@
-

+

 @@ -252,7 +256,7 @@
-

+

 @@ -276,7 +280,7 @@
-

+

 @@ -300,7 +304,7 @@
-

+

 @@ -324,7 +328,7 @@
-

+

 @@ -348,7 +352,7 @@
-

+

 @@ -372,7 +376,7 @@
-

+

 @@ -396,7 +400,7 @@
-

+

 @@ -424,7 +428,7 @@ did we get core
-

+

 @@ -452,7 +456,7 @@ did we exit the process
-

+

 @@ -480,13 +484,13 @@ did we get a signal
-

+

@@ -503,13 +507,13 @@ Detach
- +
 #define APR_PROC_DETACH_= DAEMONIZE   1 #define APR_PROC_DETACH_= DAEMONIZE   1 /**< Detach */
-

+

@@ -742,13 +746,13 @@
- +
 #define APR_PROC_DETACH_= FOREGROUND   0 #define APR_PROC_DETACH_= FOREGROUND   0 /**< Do not detach */

## Enumeration Type Documentation

-

+

@@ -764,28 +768,28 @@

Enumeration values:
- +
 enum apr_cmdtype_e enum apr_cmdtype_e
- - - - -
 APR_SHELLCMD + APR_SHELLCMD use the shell to invoke the program APR_PROGRAM + APR_PROGRAM invoke the program directly, no copied env APR_PROGRAM_ENV + APR_PROGRAM_ENV invoke the program, replicating our environment APR_PROGRAM_PATH + APR_PROGRAM_PATH find program on PATH, use our environment APR_SHELLCMD_ENV + APR_SHELLCMD_ENV use the shell to invoke the program, replicating our environment
-

+

@@ -801,24 +805,24 @@

Enumeration values:
- +
 enum apr_exit_why_e enum apr_exit_why_e
- - -
 APR_PROC_EXIT + APR_PROC_EXIT process exited normally APR_PROC_SIGNAL + APR_PROC_SIGNAL process exited due to a signal APR_PROC_SIGNAL_CORE + APR_PROC_SIGNAL_CORE process exited and dumped a core file
-

+

@@ -834,28 +838,28 @@

Enumeration values:
- +
 enum apr_kill_conditions_e = enum apr_kill_conditions_e =
- - - - -
 APR_KILL_NEVER + APR_KILL_NEVER process is never sent any signals APR_KILL_ALWAYS + APR_KILL_ALWAYS process is sent SIGKILL on apr_pool_t cleanup APR_KILL_AFTER_TIMEOUT + APR_KILL_AFTER_TIMEOUT SIGTERM, wait 3 seconds, SIGKILL APR_JUST_WAIT + APR_JUST_WAIT wait forever for the process to complete APR_KILL_ONLY_ONCE + APR_KILL_ONLY_ONCE send SIGTERM and then wait
-

+

@@ -871,9 +875,9 @@

Enumeration values:
- +
 enum apr_wait_how_e enum apr_wait_how_e
- -
 APR_WAIT + APR_WAIT wait for the specified process to finish APR_NOWAIT + APR_NOWAIT do not wait -- just see if it has finished
@@ -881,7 +885,7 @@

## Function Documentation

-

+

- + @@ -937,7 +941,7 @@
 @@ -901,7 +905,7 @@ apr_kill_conditions_e apr_kill_conditions_e how
-

+

 @@ -1009,7 +1013,7 @@
-

+

 @@ -1042,7 +1046,7 @@
-

+

 @@ -1085,7 +1089,7 @@
-

+

 @@ -1147,7 +1151,7 @@
-

+

 @@ -1190,7 +1194,7 @@
-

+

 @@ -1223,7 +1227,7 @@
-

+

 @@ -1290,7 +1294,7 @@
-

+

 @@ -1324,7 +1328,7 @@
-

+

- + - + @@ -1394,7 +1398,7 @@
 @@ -1344,13 +1348,13 @@ apr_exit_why_e * apr_exit_why_e * exitwhy, apr_wait_how_e apr_wait_how_e waithow
-

+

- + - + @@ -1603,7 +1607,7 @@
 @@ -1414,13 +1418,13 @@ apr_exit_why_e * apr_exit_why_e * exitwhy, apr_wait_how_e apr_wait_how_e waithow, errfn The functio= n to call in the child process.
-

Remarks:
At the present time, it will only = be called from = apr_proc_create() on platforms where fork() is used. It will never be c= alled on other platforms, on those platforms apr_proc_create() will return the error i= n the parent process rather than invoke the callback in the now-forked chil= d process.
+
Remarks:
At the present time, it will only = be called from = apr_proc_create() on platforms where fork() is used. It will never be c= alled on other platforms, on those platforms apr_proc_create() will return the error i= n the parent process rather than invoke the callback in the now-forked chil= d process.
@@ -1723,7 +1727,7 @@ - apr_cmdtype_e  + apr_cmdtype_e  cmd @@ -1920,13 +1924,56 @@ =20

-Specify that a= pr_proc_create() should do whatever it can to report failures to the ca= ller of apr_pro= c_create(), rather than find out in the child.

Param= eters:
+Specify that a= pr_proc_create() should do whatever it can to report failures to the ca= ller of apr_pro= c_create(), rather than find out in the child.
Param= eters:
 attr The procattr= describing the child process to be created. chk Flag to indic= ate whether or not extra work should be done to try to report failures to t= he caller.
-
Remarks:
This flag only affects apr_proc_create() on p= latforms where fork() is used. This leads to extra overhead in the calling = process, but that may help the application handle such errors more graceful= ly.
+
Remarks:
This flag only affects apr_proc_create() on p= latforms where fork() is used. This leads to extra overhead in the calling = process, but that may help the application handle such errors more graceful= ly.
+ + + +

+ + + + +
+ + + + + + + + + + + + + + + + + + +
 apr_status_t apr_procattr_group_set = ( apr_procattr_t * attr, const char * groupname )
+
+ + + +
+   + + +

+Set the group used for running process

Parameters:<= /dt>
+ + + +
 attr The procattr= we care about. groupname The gro= up name used
+
@@ -1987,6 +2034,56 @@ +

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
 apr_status_t apr_procattr_user_set = ( apr_procattr_t * attr, const char * username, const char * password )
+
+ + + + + +
+   + + +

+Set the username used for running process

Parameters:
+ + + + +
 attr The procattr= we care about. username The user= name used password User pas= sword if needed. Password is needed on WIN32 or any other platform having A= PR_PROCATTR_USER_SET_REQUIRES_PASSWORD set.
+
+

@@ -2363,7 +2460,7 @@
-

+

 @@ -2903,8 +3000,8 @@
-

Generated on Wed Se= p 1 21:36:07 2004 for Apache Portable Runtime by +
Generated on Mon Fe= b 7 13:18:26 2005 for Apache Portable Runtime by -= 1.3.8
+= 1.3.7
Modified: apr/site/trunk/docs/docs/apr/group__apr__thread__rwlock.html URL: http://svn.apache.org/viewcvs/apr/site/trunk/docs/docs/apr/group__apr_= _thread__rwlock.html?view=3Ddiff&r1=3D151767&r2=3D151768 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- apr/site/trunk/docs/docs/apr/group__apr__thread__rwlock.html (original) +++ apr/site/trunk/docs/docs/apr/group__apr__thread__rwlock.html Mon Feb 7= 15:10:17 2005 @@ -3,7 +3,7 @@ Apache Portable Runtime: Reader/Writer Lock Routines - +

@@ -323,8 +323,8 @@ -
Generated on Wed Se= p 1 21:36:07 2004 for Apache Portable Runtime by +
Generated on Mon Fe= b 7 13:18:26 2005 for Apache Portable Runtime by -= 1.3.8
+= 1.3.7
Modified: apr/site/trunk/docs/docs/apr/group__apr__time.html URL: http://svn.apache.org/viewcvs/apr/site/trunk/docs/docs/apr/group__apr_= _time.html?view=3Ddiff&r1=3D151767&r2=3D151768 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- apr/site/trunk/docs/docs/apr/group__apr__time.html (original) +++ apr/site/trunk/docs/docs/apr/group__apr__time.html Mon Feb 7 15:10:17 = 2005 @@ -3,7 +3,7 @@ Apache Portable Runtime: Time Routines - +

# Time Routines

@@ -1027,8 +1027,8 @@ month names -
Generated on Wed Se= p 1 21:36:07 2004 for Apache Portable Runtime by +
Generated on Mon Fe= b 7 13:18:26 2005 for Apache Portable Runtime by -= 1.3.8
+= 1.3.7
Modified: apr/site/trunk/docs/docs/apr/group__apr__user.html URL: http://svn.apache.org/viewcvs/apr/site/trunk/docs/docs/apr/group__apr_= _user.html?view=3Ddiff&r1=3D151767&r2=3D151768 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- apr/site/trunk/docs/docs/apr/group__apr__user.html (original) +++ apr/site/trunk/docs/docs/apr/group__apr__user.html Mon Feb 7 15:10:17 = 2005 @@ -3,7 +3,7 @@ Apache Portable Runtime: User and Group ID Services - +

# User and Group ID Services

@@ -60,8 +60,8 @@ Structure for determining user ownership. -
Generated on Wed Se= p 1 21:36:07 2004 for Apache Portable Runtime by +
Generated on Mon Fe= b 7 13:18:26 2005 for Apache Portable Runtime by -= 1.3.8
+= 1.3.7
Modified: apr/site/trunk/docs/docs/apr/index.html URL: http://svn.apache.org/viewcvs/apr/site/trunk/docs/docs/apr/index.html?= view=3Ddiff&r1=3D151767&r2=3D151768 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- apr/site/trunk/docs/docs/apr/index.html (original) +++ apr/site/trunk/docs/docs/apr/index.html Mon Feb 7 15:10:17 2005 @@ -3,12 +3,12 @@ Apache Portable Runtime: Main Page - +

# Apache Portable Runtime Documentation

-

Generated on Wed Se= p 1 21:36:04 2004 for Apache Portable Runtime by +
Generated on Mon Fe= b 7 13:18:24 2005 for Apache Portable Runtime by -= 1.3.8
+= 1.3.7
Modified: apr/site/trunk/docs/docs/apr/modules.html URL: http://svn.apache.org/viewcvs/apr/site/trunk/docs/docs/apr/modules.htm= l?view=3Ddiff&r1=3D151767&r2=3D151768 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- apr/site/trunk/docs/docs/apr/modules.html (original) +++ apr/site/trunk/docs/docs/apr/modules.html Mon Feb 7 15:10:17 2005 @@ -3,7 +3,7 @@ Apache Portable Runtime: Module Index - +

# Apache Portable Runtime Modules

Here is a list of all modules:
• Filename Matching Fu= nctions @@ -43,6 +44,7 @@
• Poll Routines
• Memory Pool Functions<= /a> @@ -74,8 +76,8 @@
• Time Routines
• User and Group ID Servi= ces -
Generated on Wed Se= p 1 21:36:07 2004 for Apache Portable Runtime by +
Generated on Mon Fe= b 7 13:18:26 2005 for Apache Portable Runtime by -= 1.3.8
+= 1.3.7
Modified: apr/site/trunk/docs/docs/apr/pages.html URL: http://svn.apache.org/viewcvs/apr/site/trunk/docs/docs/apr/pages.html?= view=3Ddiff&r1=3D151767&r2=3D151768 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- apr/site/trunk/docs/docs/apr/pages.html (original) +++ apr/site/trunk/docs/docs/apr/pages.html Mon Feb 7 15:10:17 2005 @@ -3,7 +3,7 @@ Apache Portable Runtime: Page Index - +

# Apache Portable Runtime Related Pages

Here is a list of all relate= d documentation pages:
-
Generated on Wed Se= p 1 21:36:07 2004 for Apache Portable Runtime by +
Generated on Mon Fe= b 7 13:18:26 2005 for Apache Portable Runtime by -= 1.3.8
+= 1.3.7
Modified: apr/site/trunk/docs/docs/apr/sha2_8h-source.html URL: http://svn.apache.org/viewcvs/apr/site/trunk/docs/docs/apr/sha2_8h-sou= rce.html?view=3Ddiff&r1=3D151767&r2=3D151768 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- apr/site/trunk/docs/docs/apr/sha2_8h-source.html (original) +++ apr/site/trunk/docs/docs/apr/sha2_8h-source.html Mon Feb 7 15:10:17 20= 05 @@ -3,95 +3,96 @@ Apache Portable Runtime: sha2.h Source File - + -

# sha2.h

```00001 =
/* Copyright 2003-2004 The Apache Software Foundation
-00002  *
-00004  * you may not use this file except in compl=
-00005  * You may obtain a copy of the License at
-00006  *
E-2.0
-00008  *
-00009  * Unless required by applicable law or agre=
ed to in writing, software
ted on an "AS IS" BASIS,
-00011  * WITHOUT WARRANTIES OR CONDITIONS OF ANY K=
IND, either express or implied.
-00012  * See the License for the specific language=
governing permissions and
-00013  * limitations under the License.
-00014  */
-00015 /*
-00016  * FILE:        sha2.h
-00017  * AUTHOR:      Aaron D. Gifford <me@aaro=
ngifford.com>
-00018  *
-00019  * A licence was granted to the ASF by Aaron=
on 4 November 2003.
-00020  */
-00021=20
-00022 #ifndef __SHA2_H__
-00023 #de=
fine __SHA2_H__
-00024
-00025 #ifdef __cplusplus
-00026 extern "C" {
-00027 #endif
-00028
-00029 #include "apr.h"
-00030=20
-00031 /*** SHA-256/384/512 Various Length Definiti=
ons ***********************/
-00032 #define SHA256_BLOCK_LENGTH            =
64
-00033 #de=
fine SHA256_DIGEST_LENGTH            32
-00034 #de=
fine SHA256_DIGEST_STRING_LENGTH     (SHA256_DIGEST_LENGTH * 2 + 1)
-00035 #de=
fine SHA384_BLOCK_LENGTH             128
-00036 #de=
fine SHA384_DIGEST_LENGTH            48
-00037 #de=
fine SHA384_DIGEST_STRING_LENGTH     (SHA384_DIGEST_LENGTH * 2 + 1)
-00038 #de=
fine SHA512_BLOCK_LENGTH             128
-00039 #de=
fine SHA512_DIGEST_LENGTH            64
-00040 #de=
fine SHA512_DIGEST_STRING_LENGTH     (SHA512_DIGEST_LENGTH * 2 + 1)
-00041
-00042=20
-00043 /*** SHA-256/384/512 Context Structures ****=
***************************/
-00044 typedef struc=
t _SHA256_CTX {
-00045         apr_uint32_t    state[8];
-00046         apr_uint64_t    bitcount;
-00047         apr_byte_t      buffer[SHA256_BLOCK_LENGTH];
-00048 } SHA256_CTX;
-00049 typedef struc=
t _SHA512_CTX {
-00050         apr_uint64_t    state[8];
-00051         apr_uint64_t    bitcount[2];
-00052         apr_byte_t      buffer[SHA512_BLOCK_LENGTH];
-00053 } SHA512_CTX;
-00054=20
-00055 typedef SHA512_CTX SHA384_CTX;
-00056=20
+sha2.h00001 =
/* Copyright 2003-2005 The Apache Software Foundation or its licensors, as<=
/span>
+00002  * applicable.
+00003  *
+00005  * you may not use this file except in compl=
+00006  * You may obtain a copy of the License at
+00007  *
E-2.0
+00009  *
+00010  * Unless required by applicable law or agre=
ed to in writing, software
ted on an "AS IS" BASIS,
+00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY K=
IND, either express or implied.
+00013  * See the License for the specific language=
governing permissions and
+00014  * limitations under the License.
+00015  */
+00016 /*
+00017  * FILE:        sha2.h
+00018  * AUTHOR:      Aaron D. Gifford <me@aaro=
ngifford.com>
+00019  *
+00020  * A licence was granted to the ASF by Aaron=
on 4 November 2003.
+00021  */
+00022=20
+00023 #ifndef __SHA2_H__
+00024 #de=
fine __SHA2_H__
+00025
+00026 #ifdef __cplusplus
+00027 extern "C" {
+00028 #endif
+00029
+00030 #include "apr.h"
+00031=20
+00032 /*** SHA-256/384/512 Various Length Definiti=
ons ***********************/
+00033 #define SHA256_BLOCK_LENGTH            =
64
+00034 #de=
fine SHA256_DIGEST_LENGTH            32
+00035 #de=
fine SHA256_DIGEST_STRING_LENGTH     (SHA256_DIGEST_LENGTH * 2 + 1)
+00036 #de=
fine SHA384_BLOCK_LENGTH             128
+00037 #de=
fine SHA384_DIGEST_LENGTH            48
+00038 #de=
fine SHA384_DIGEST_STRING_LENGTH     (SHA384_DIGEST_LENGTH * 2 + 1)
+00039 #de=
fine SHA512_BLOCK_LENGTH             128
+00040 #de=
fine SHA512_DIGEST_LENGTH            64
+00041 #de=
fine SHA512_DIGEST_STRING_LENGTH     (SHA512_DIGEST_LENGTH * 2 + 1)
+00042
+00043=20
+00044 /*** SHA-256/384/512 Context Structures ****=
***************************/
+00045 typedef struc=
t _SHA256_CTX {
+00046         apr_uint32_t    state[8];
+00047         apr_uint64_t    bitcount;
+00048         apr_byte_t      buffer[SHA256_BLOCK_LENGTH];
+00049 } SHA256_CTX;
+00050 typedef struc=
t _SHA512_CTX {
+00051         apr_uint64_t    state[8];
+00052         apr_uint64_t    bitcount[2];
+00053         apr_byte_t      buffer[SHA512_BLOCK_LENGTH];
+00054 } SHA512_CTX;
+00055=20
+00056 typedef SHA512_CTX SHA384_CTX;
00057=20
-00058 /*** SHA-256/384/512 Function Prototypes ***=
***************************/
-00059 void SHA256_Init(SHA256_CTX *);
-00060 void SHA256_Update(SHA256_CTX *, =
const apr_byte_t *, size_t);
-00061 void SHA256_Final(apr_byte_t [SHA=
256_DIGEST_LENGTH], SHA256_CTX *);
-00062 char* SHA256_End(SHA256_CTX *, char [SHA256_DIGEST_STRING_LENGTH]);
-00063 char* SHA256_Data(const apr_byte_t *, size_t,
-00064                   char [SHA256_DI=
GEST_STRING_LENGTH]);
-00065=20
-00066 void SHA384_Init(SHA384_CTX *);
-00067 void SHA384_Update(SHA384_CTX *, =
const apr_byte_t *, size_t);
-00068 void SHA384_Final(apr_byte_t [SHA=
384_DIGEST_LENGTH], SHA384_CTX *);
-00069 char* SHA384_End(SHA384_CTX *, char [SHA384_DIGEST_STRING_LENGTH]);
-00070 char* SHA384_Data(const apr_byte_t *, size_t,
-00071                   char [SHA384_DI=
GEST_STRING_LENGTH]);
-00072=20
-00073 void SHA512_Init(SHA512_CTX *);
-00074 void SHA512_Update(SHA512_CTX *, =
const apr_byte_t *, size_t);
-00075 void SHA512_Final(apr_byte_t [SHA=
512_DIGEST_LENGTH], SHA512_CTX *);
-00076 char* SHA512_End(SHA512_CTX *, char [SHA512_DIGEST_STRING_LENGTH]);
-00077 char* SHA512_Data(const apr_byte_t *, size_t,
-00078                   char [SHA512_DI=
GEST_STRING_LENGTH]);
-00079=20
-00080 #ifdef  __cplusplus
-00081 }
-00082 #endif /=
* __cplusplus */
-00083=20
-00084 #endif /=
* __SHA2_H__ */
-00085=20
-Generat=
ed on Wed Sep 1 21:36:05 2004 for Apache Portable Runtime by
+00058=20
+00059 /*** SHA-256/384/512 Function Prototypes ***=
***************************/
+00060 void SHA256_Init(SHA256_CTX *);
+00061 void SHA256_Update(SHA256_CTX *, =
const apr_byte_t *, size_t);
+00062 void SHA256_Final(apr_byte_t [SHA=
256_DIGEST_LENGTH], SHA256_CTX *);
+00063 char* SHA256_End(SHA256_CTX *, char [SHA256_DIGEST_STRING_LENGTH]);
+00064 char* SHA256_Data(const apr_byte_t *, size_t,
+00065                   char [SHA256_DI=
GEST_STRING_LENGTH]);
+00066=20
+00067 void SHA384_Init(SHA384_CTX *);
+00068 void SHA384_Update(SHA384_CTX *, =
const apr_byte_t *, size_t);
+00069 void SHA384_Final(apr_byte_t [SHA=
384_DIGEST_LENGTH], SHA384_CTX *);
+00070 char* SHA384_End(SHA384_CTX *, char [SHA384_DIGEST_STRING_LENGTH]);
+00071 char* SHA384_Data(const apr_byte_t *, size_t,
+00072                   char [SHA384_DI=
GEST_STRING_LENGTH]);
+00073=20
+00074 void SHA512_Init(SHA512_CTX *);
+00075 void SHA512_Update(SHA512_CTX *, =
const apr_byte_t *, size_t);
+00076 void SHA512_Final(apr_byte_t [SHA=
512_DIGEST_LENGTH], SHA512_CTX *);
+00077 char* SHA512_End(SHA512_CTX *, char [SHA512_DIGEST_STRING_LENGTH]);
+00078 char* SHA512_Data(const apr_byte_t *, size_t,
+00079                   char [SHA512_DI=
GEST_STRING_LENGTH]);
+00080=20
+00081 #ifdef  __cplusplus
+00082 }
+00083 #endif /=
* __cplusplus */
+00084=20
+00085 #endif /=
* __SHA2_H__ */
+00086=20
+```

Generat= ed on Mon Feb 7 13:18:25 2005 for Apache Portable Runtime by -= 1.3.8
+= 1.3.7 Modified: apr/site/trunk/docs/docs/apr/structapr__array__header__t.html URL: http://svn.apache.org/viewcvs/apr/site/trunk/docs/docs/apr/structapr__= array__header__t.html?view=3Ddiff&r1=3D151767&r2=3D151768 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- apr/site/trunk/docs/docs/apr/structapr__array__header__t.html (original) +++ apr/site/trunk/docs/docs/apr/structapr__array__header__t.html Mon Feb = 7 15:10:17 2005 @@ -1,9 +1,9 @@ -Apache Portable Runtime: apr_array_header_t Struct Reference +Apache Portable Runtime: apr_array_header_t struct Reference - +