locks.h revision ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8dd
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* ====================================================================
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * The Apache Software License, Version 1.1
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz *
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * Copyright (c) 2000-2003 The Apache Software Foundation. All rights
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * reserved.
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz *
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * Redistribution and use in source and binary forms, with or without
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * modification, are permitted provided that the following conditions
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * are met:
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz *
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * 1. Redistributions of source code must retain the above copyright
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * notice, this list of conditions and the following disclaimer.
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz *
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * 2. Redistributions in binary form must reproduce the above copyright
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * notice, this list of conditions and the following disclaimer in
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * the documentation and/or other materials provided with the
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * distribution.
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz *
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * 3. The end-user documentation included with the redistribution,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * if any, must include the following acknowledgment:
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * "This product includes software developed by the
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * Apache Software Foundation (http://www.apache.org/)."
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * Alternately, this acknowledgment may appear in the software itself,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * if and wherever such third-party acknowledgments normally appear.
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz *
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * 4. The names "Apache" and "Apache Software Foundation" must
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * not be used to endorse or promote products derived from this
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * software without prior written permission. For written
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * permission, please contact apache@apache.org.
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz *
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * 5. Products derived from this software may not be called "Apache",
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * nor may "Apache" appear in their name, without prior written
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * permission of the Apache Software Foundation.
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz *
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * SUCH DAMAGE.
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * ====================================================================
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz *
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * This software consists of voluntary contributions made by many
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * individuals on behalf of the Apache Software Foundation. For more
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * information on the Apache Software Foundation, please see
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz * <http://www.apache.org/>.
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/*
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz** Declarations for the generic lock implementation
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz*/
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz#ifndef _DAV_LOCK_LOCKS_H_
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz#define _DAV_LOCK_LOCKS_H_
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* where is the lock database located? */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst char *dav_generic_get_lockdb_path(const request_rec *r);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz#endif /* _DAV_LOCK_LOCKS_H_ */