]> granicus.if.org Git - apache/blobdiff - modules/aaa/mod_authz_dbd.c
You can't borrow AP_ namespace for imports/exports.
[apache] / modules / aaa / mod_authz_dbd.c
index a9f8cc6445e22f07c3a16794d2123c30810bc409..09991787ea4cebe96f819a566dbb85a2424665eb 100644 (file)
@@ -1,9 +1,9 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
  *
  *     http://www.apache.org/licenses/LICENSE-2.0
  *
@@ -34,8 +34,12 @@ module AP_MODULE_DECLARE_DATA authz_dbd_module;
 /* Export a hook for modules that manage clientside sessions
  * (e.g. mod_auth_cookie)
  * to deal with those when we successfully login/logout at the server
+ *
+ * XXX: WHY would this be specific to dbd_authz?  Why wouldn't we track
+ * this across all authz user providers in a lower level mod, such as 
+ * mod_auth_basic/digest?
  */
-APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(authz_dbd, AP, int, client_login,
+APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(authz_dbd, AUTHZ_DBD, int, client_login,
                             (request_rec *r, int code, const char *action),
                             (r, code, action), OK, DECLINED)