std_liveprop.c revision 6f15570e3adc0faf87bf55f70857028276fc9e32
6320N/A/* ==================================================================== 6320N/A * The Apache Software License, Version 1.1 6320N/A * Copyright (c) 2000-2002 The Apache Software Foundation. All rights 6320N/A * Redistribution and use in source and binary forms, with or without 6320N/A * modification, are permitted provided that the following conditions 6320N/A * 1. Redistributions of source code must retain the above copyright 6320N/A * notice, this list of conditions and the following disclaimer. 6320N/A * 2. Redistributions in binary form must reproduce the above copyright 6320N/A * notice, this list of conditions and the following disclaimer in 6320N/A * the documentation and/or other materials provided with the 6320N/A * 3. The end-user documentation included with the redistribution, 6320N/A * if any, must include the following acknowledgment: 6320N/A * "This product includes software developed by the 6320N/A * Alternately, this acknowledgment may appear in the software itself, 6320N/A * if and wherever such third-party acknowledgments normally appear. 6320N/A * 4. The names "Apache" and "Apache Software Foundation" must 6320N/A * not be used to endorse or promote products derived from this 6320N/A * software without prior written permission. For written 6320N/A * permission, please contact apache@apache.org. 6320N/A * 5. Products derived from this software may not be called "Apache", 6320N/A * nor may "Apache" appear in their name, without prior written 6320N/A * permission of the Apache Software Foundation. 6320N/A * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED 6320N/A * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 6320N/A * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 6320N/A * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR 6320N/A * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 6320N/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 6320N/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 6320N/A * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 6320N/A * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 6320N/A * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 6320N/A * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 6320N/A * ==================================================================== 6320N/A * This software consists of voluntary contributions made by many 6320N/A * individuals on behalf of the Apache Software Foundation. For more 6320N/A * information on the Apache Software Foundation, please see 6320N/A** The namespace URIs that we use. There will only ever be "DAV:". 6320N/A** Define each of the core properties that this provider will handle. 6320N/A** Note that all of them are in the DAV: namespace, which has a 6320N/A** provider-local index of 0. 6320N/A /* ### should we denote lock-null resources? */ 6320N/A ** This property is known, but not defined as a liveprop. However, 6320N/A ** it may be a dead property. 6320N/A /* assert: value != NULL */ 6320N/A /* get the information and global NS index for the property */ 6320N/A /* assert: info != NULL && info->name != NULL */ 6320N/A "<D:supported-live-property D:name=\"%s\" " 6320N/A /* we inserted what was asked for */ 6320N/A /* all of our writable props go in the dead prop database */ 6320N/A /* register the namespace URIs */