coar 00/09/22 16:00:58
Modified: apidoc TODO api.list Log: Some minor example additions.. working through the list. Revision Changes Path 1.13 +0 -16 httpd-docs-1.3/apidoc/TODO Index: TODO =================================================================== RCS file: /home/cvs/httpd-docs-1.3/apidoc/TODO,v retrieving revision 1.12 retrieving revision 1.13 diff -u -u -r1.12 -r1.13 --- TODO 2000/09/19 14:00:24 1.12 +++ TODO 2000/09/22 23:00:54 1.13 @@ -85,22 +85,6 @@ BUFF The following items need examples: - ap_bgetflag - ap_bgetopt - ap_bgets - ap_bhalfduplex - ap_block_alarms - ap_blookc - ap_bnonblock - ap_bprintf - ap_bpushfd - ap_bpushh - ap_bputc - ap_bputs - ap_bread - ap_bsetflag - ap_bsetopt - ap_bskiplf ap_bspawn_child ap_bvputs ap_bwrite 1.33 +41 -18 httpd-docs-1.3/apidoc/api.list Index: api.list =================================================================== RCS file: /home/cvs/httpd-docs-1.3/apidoc/api.list,v retrieving revision 1.32 retrieving revision 1.33 diff -u -u -r1.32 -r1.33 --- api.list 2000/09/19 14:00:25 1.32 +++ api.list 2000/09/22 23:00:54 1.33 @@ -1637,8 +1637,8 @@ |<dict-$*.html R|ap_bprintf\ |int $*(BUFF *fb, const char *fmt, ...);\ + |<i>No examples available; not used in Apache 1.3.</i>\ |\ - |\ |<dict-$*.html R|ap_os_canonical_filename\ |char *$*(pool *p, const char *file);\ @@ -1889,52 +1889,71 @@ | M|ap_bgetflag\ |#define $*(fb, flag) ((fb)->flags & (flag))\ - |\ + |int convert = $*(r->connection->client, B_EBCDIC2ASCII);\ |SA-BUFF\ | R|ap_bgetopt\ |int $*(BUFF *fb, int optname, void *optval);\ - |\ + |long int bs;\n\ +$*r->connection->client, BO_BYTECT, &bs);\ |SA-BUFF\ | R|ap_bgets\ |int $*(char *s, int n, BUFF *fb);\ - |\ + |while ($(argsbuffer, HUGE_STRING_LEN, script_err) > 0) {\n\ + continue;\n\ +}\ |SA-BUFF\ | R|ap_bhalfduplex\ |void $*(BUFF *fb);\ - |\ + |BUFF *fb;\n\ +$*(fb);\ |SA-BUFF\ | R|ap_block_alarms\ |void $*(void);\ - |\ - |\ + |$*();\n\ +pid = fork();\n\ +if (pid == 0) {\n\ + /* Do something as the child */\n\ +}\n\ +else {\n\ + /* Do something as the parent */\n\ +}\n\ +ap_unblock_alarms();\ + |ap_unblock_alarms\ |<dict-$*.html R|ap_blookc\ |int $*(char *buffer, BUFF *fb);\ + |do {\n\ + /* something */\n\ +} while (fold\n\ + && (retval != 1)\n\ + && (n > 1)\n\ + && ($*(&next, in) == 1)\n\ + && ((next == ' ')\n\ + || (next == '\\t')));\ |\ - |\ | R|ap_bnonblock\ |int $*(BUFF *fb, int direction);\ - |\ + |$*(fb, B_RD);\ |\ | R|ap_bonerror\ |void $*(BUFF *fb, void (*error) (BUFF *b, int, void *), void *data);\ - |<i>No examples available; not currently used in Apaceh 1.3.</i>\ + |<i>No examples available; not currently used in Apache 1.3.</i>\ |\ | R|ap_bpushfd\ |void $*(BUFF *fb, int fd_in, int fd_out);\ + |$*(datam csd, -1);\ |\ - |\ | R|ap_bpushh\ |void $*(BUFF *fb, HANDLE hFH);\ - |\ + |$*(*pipe_in, hPipeInputWrite);\ |\ | M|ap_bputc\ @@ -1951,32 +1970,36 @@ B_EBCDIC2ASCII) \ \n \ ? os_toascii[(unsigned char)c] : (c), 0)) \n \ #endif\ - |\ + |if ($*(c, r->connection->client) < 0) {\n\ + /* Do something */\n\ +}\ |SA-BUFF\ | R|ap_bputs\ |int $*(const char *x, BUFF *fb);\ - |\ + |$*(CRLF, fp);\ |\ | R|ap_bread\ |int $*(BUFF *fb, void *buf, int nbyte);\ + |n = $*(f, buf, IOBUFSIZE);\ |\ - |\ | R|ap_bsetflag\ |int $*(BUFF *fb, int flag, int value);\ - |\ + |$*(r->connection->client, B_ASCII2EBCDIC, 0);\ |\ | R|ap_bsetopt\ |int $*(BUFF *fb, int optname, const void *optval);\ + |$*(r->connection->client, BO_BYTECT, &zero);\ |\ - |\ | R|ap_bskiplf\ |int $*(BUFF *fb);\ - |\ + |if (linebuff[len - 1] != '\\n') {\n\ + (void)$*(f);\n\ +}\ |\ | R|ap_bspawn_child\