You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by co...@locus.apache.org on 2000/07/25 05:37:05 UTC

cvs commit: httpd-docs-1.3/apidoc dict-ap_auth_type.html TODO api.list

coar        00/07/24 20:37:05

  Modified:    apidoc   TODO api.list
  Added:       apidoc   dict-ap_auth_type.html
  Log:
  	Some more moves toward completeness..
  
  Revision  Changes    Path
  1.3       +17 -3     httpd-docs-1.3/apidoc/TODO
  
  Index: TODO
  ===================================================================
  RCS file: /home/cvs/httpd-docs-1.3/apidoc/TODO,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -u -r1.2 -r1.3
  --- TODO	2000/07/24 22:13:42	1.2
  +++ TODO	2000/07/25 03:37:05	1.3
  @@ -3,7 +3,6 @@
   ap_add_named_module
   ap_add_per_url_conf
   ap_allow_overrides
  -ap_auth_type
   ap_basic_http_header
   ap_bclose
   ap_bcreate
  @@ -79,12 +78,23 @@
   ap_is_fnmatch
   ap_is_initial_req
   ap_limit_section
  +APLOG_ALERT
  +APLOG_CRIT
  +APLOG_DEBUG
  +APLOG_EMERG
  +APLOG_ERR
   ap_log_error
  +APLOG_INFO
  +APLOG_MARK
  +APLOG_NOERRNO
  +APLOG_NOTICE
   ap_log_pid
   ap_log_printf
   ap_log_reason
  +ap_log_rerror
   ap_log_transaction
   ap_log_unixerr
  +APLOG_WARNING
   ap_make_dirstr_parent
   ap_make_dirstr_prefix
   ap_matches_request_vhost
  @@ -179,6 +189,7 @@
   ap_update_vhost_given_ip
   ap_util_init
   ap_util_uri_init
  +ap_validate_password
   ap_vformatter_buff
   ap_vformatter
   ap_wait_t
  @@ -193,7 +204,6 @@
   M_MOVE
   M_PATCH
   M_PROPFIND
  -M_PROPPATCH
   M_UNLOCK
   OPT_ALL
   OPT_EXECCGI
  @@ -205,6 +215,7 @@
   OPT_SYM_LINKS
   OPT_SYM_OWNER
   OPT_UNSET
  +OS_ASC
   piped_log
   proxyreqtype
   regex_t
  @@ -218,7 +229,6 @@
   ap_add_per_dir_conf
   ap_append_arrays
   ap_array_cat
  -ap_auth_type
   ap_bclose
   ap_bcreate
   ap_bfilbuf
  @@ -339,6 +349,7 @@
   ap_log_pid
   ap_log_printf
   ap_log_reason
  +ap_log_rerror
   ap_log_unixerr
   ap_make_array
   ap_make_dirstr
  @@ -469,6 +480,7 @@
   command_rec
   configfile_t
   conn_rec
  +OS_ASC
   piped_log
   proxyreqtype
   regex_t
  @@ -503,6 +515,8 @@
   HTTP_FAILED_DEPENDENCY
   HTTP_INSUFFICIENT_STORAGE
   HTTP_NOT_EXTENDED
  +APLOG_LEVELMASK
  +APLOG_WIN32ERROR
   ap_is_HTTP_INFO
   ap_is_HTTP_SUCCESS
   ap_is_HTTP_REDIRECT
  
  
  
  1.18      +96 -9     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.17
  retrieving revision 1.18
  diff -u -u -r1.17 -r1.18
  --- api.list	2000/07/24 22:13:42	1.17
  +++ api.list	2000/07/25 03:37:05	1.18
  @@ -1563,17 +1563,37 @@
   $*(str2, sizeof(str2), text, ap);\
       |\
       |dict-$*.html
  +X|SA-security\
  +    |ap_auth_name,ap_auth_type,ap_validate_password\
  +    |\
  +    |\
  +    |
   R|ap_auth_name\
       |const char *$*(request_rec *r);\
       |if ($*(r) == NULL) {\n \
       /* no applicable security realm */ \n \
       } \n \
  -    |\
  +    |SA-security\
       |dict-$*.html
   R|ap_auth_type\
  -    |char *$*(request_rec *r);\
  -    |\
  -    |\
  +    |const char *$*(request_rec *r);\
  +    |if (strcasecmp($*(r), "Basic") == 0) { \n \
  +    /* AuthType Basic */ \n \
  +} \
  +    |SA-security\
  +    |dict-$*.html
  +R|ap_validate_password\
  +    |char *$*(const char *passwd, const char *hash);\
  +    |pwcheck = $*(pw_from_request, pw_from_file); \n \
  +if (pwcheck == NULL) { \n \
  +    /* Password matches */ \n \
  +} \n \
  +else { \n \
  +    ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, r, \n \
  +                  "Authentication failed: %s", pwcheck); \n \
  +    return HTTP_UNAUTHORIZED; \n \
  +} \
  +    |SA-security\
       |dict-$*.html
   R|ap_basic_http_header\
       |void $*(request_rec *r);\
  @@ -1851,10 +1871,17 @@
       |\
       |\
       |dict-$*.html
  +X|SA-logging\
  +    |APLOG_ALERT,APLOG_CRIT,APLOG_DEBUG,APLOG_EMERG,APLOG_ERR,APLOG_INFO\
  +     ,APLOG_LEVELMASK,APLOG_MARK,APLOG_NOERRNO,APLOG_NOTICE,APLOG_WARNING\
  +     ,APLOG_WIN32ERROR,ap_log_error,ap_log_rerror,ap_error_log2stderr\
  +    |\
  +    |\
  +    |
   R|ap_error_log2stderr\
       |void $*(server_rec *s);\
       |\
  -    |\
  +    |SA-logging\
       |dict-$*.html
   R|ap_escape_html\
       |char *$*(pool *p, const char *s);\
  @@ -2168,10 +2195,70 @@
       |\
       |dict-$*.html
   R|ap_log_error\
  -    |void $*(const char *file, int line, int level, const server_rec *s, \
  -     const char *fmt, ...) __attribute__((format(printf,5,6)));\
  -    |\
  -    |\
  +    |void $*(const char *file, int line, int level, \n \
  +                      const server_rec *s, \
  +     const char *fmt, ...) \n \
  +                      __attribute__((format(printf,5,6)));\
  +    |\
  +    |SA-logging\
  +    |dict-$*.html
  +R|ap_log_rerror\
  +    |void $*(const char *file, int line, int level, \n \
  +                   const request_rec *r, \
  +     const char *fmt, ...) \n \
  +                   __attribute__((format(printf,5,6)));\
  +    |\
  +    |SA-logging\
  +    |dict-$*.html
  +C|APLOG_ALERT\
  +    |#define $* <var>value</var>\
  +    |ap_log_rerror(APLOG_MARK, APLOG_NOERRNO&#124;$*, r, "%s", message); \
  +    |SA-logging\
  +    |dict-$*.html
  +C|APLOG_CRIT\
  +    |#define $* <var>value</var>\
  +    |ap_log_rerror(APLOG_MARK, APLOG_NOERRNO&#124;$*, r, "%s", message); \
  +    |SA-logging\
  +    |dict-$*.html
  +C|APLOG_DEBUG\
  +    |#define $* <var>value</var>\
  +    |ap_log_rerror(APLOG_MARK, APLOG_NOERRNO&#124;$*, r, "%s", message); \
  +    |SA-logging\
  +    |dict-$*.html
  +C|APLOG_EMERG\
  +    |#define $* <var>value</var>\
  +    |ap_log_rerror(APLOG_MARK, APLOG_NOERRNO&#124;$*, r, "%s", message); \
  +    |SA-logging\
  +    |dict-$*.html
  +C|APLOG_ERR\
  +    |#define $* <var>value</var>\
  +    |ap_log_rerror(APLOG_MARK, APLOG_NOERRNO&#124;$*, r, "%s", message); \
  +    |SA-logging\
  +    |dict-$*.html
  +C|APLOG_INFO\
  +    |#define $* <var>value</var>\
  +    |ap_log_rerror(APLOG_MARK, APLOG_NOERRNO&#124;$*, r, "%s", message); \
  +    |SA-logging\
  +    |dict-$*.html
  +C|APLOG_NOTICE\
  +    |#define $* <var>value</var>\
  +    |ap_log_rerror(APLOG_MARK, APLOG_NOERRNO&#124;$*, r, "%s", message); \
  +    |SA-logging\
  +    |dict-$*.html
  +C|APLOG_WARNING\
  +    |#define $* <var>value</var>\
  +    |ap_log_rerror(APLOG_MARK, APLOG_NOERRNO&#124;$*, r, "%s", message); \
  +    |SA-logging\
  +    |dict-$*.html
  +C|APLOG_NOERRNO\
  +    |#define $* <var>value</var>\
  +    |ap_log_rerror(APLOG_MARK, $*&#124;APLOG_ERR, r, "%s", message); \
  +    |SA-logging\
  +    |dict-$*.html
  +C|APLOG_MARK\
  +    |#define $* __FILE__,__LINE__\
  +    |ap_log_rerror($*, APLOG_NOERRNO&#124;APLOG_ERR, r, "%s", message); \
  +    |SA-logging\
       |dict-$*.html
   R|ap_log_pid\
       |void $*(pool *p, char *fname);\
  
  
  
  1.4       +4 -2      httpd-docs-1.3/apidoc/dict-ap_auth_type.html