ia64/xen-unstable

changeset 9095:47e0d6fa741e

Removing out-of-date unused file.
current code available in io/xs_wire.h

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
author vhanquez@kneesa.uk.xensource.com
date Thu Mar 02 02:14:45 2006 +0000 (2006-03-02)
parents cff782f65c4d
children 34b7dd72aa55
files linux-2.6-xen-sparse/include/xen/public/xenstored.h
line diff
     1.1 --- a/linux-2.6-xen-sparse/include/xen/public/xenstored.h	Thu Mar 02 02:35:23 2006 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,89 +0,0 @@
     1.4 -/*
     1.5 - * Simple prototyle Xen Store Daemon providing simple tree-like database.
     1.6 - * Copyright (C) 2005 Rusty Russell IBM Corporation
     1.7 - *
     1.8 - * This file may be distributed separately from the Linux kernel, or
     1.9 - * incorporated into other software packages, subject to the following license:
    1.10 - * 
    1.11 - * Permission is hereby granted, free of charge, to any person obtaining a copy
    1.12 - * of this source file (the "Software"), to deal in the Software without
    1.13 - * restriction, including without limitation the rights to use, copy, modify,
    1.14 - * merge, publish, distribute, sublicense, and/or sell copies of the Software,
    1.15 - * and to permit persons to whom the Software is furnished to do so, subject to
    1.16 - * the following conditions:
    1.17 - * 
    1.18 - * The above copyright notice and this permission notice shall be included in
    1.19 - * all copies or substantial portions of the Software.
    1.20 - * 
    1.21 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    1.22 - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    1.23 - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    1.24 - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    1.25 - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
    1.26 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
    1.27 - * IN THE SOFTWARE.
    1.28 - */
    1.29 -
    1.30 -#ifndef _XENSTORED_H
    1.31 -#define _XENSTORED_H
    1.32 -
    1.33 -enum xsd_sockmsg_type
    1.34 -{
    1.35 -	XS_DEBUG,
    1.36 -	XS_SHUTDOWN,
    1.37 -	XS_DIRECTORY,
    1.38 -	XS_READ,
    1.39 -	XS_GET_PERMS,
    1.40 -	XS_WATCH,
    1.41 -	XS_WATCH_ACK,
    1.42 -	XS_UNWATCH,
    1.43 -	XS_TRANSACTION_START,
    1.44 -	XS_TRANSACTION_END,
    1.45 -	XS_OP_READ_ONLY = XS_TRANSACTION_END,
    1.46 -	XS_INTRODUCE,
    1.47 -	XS_RELEASE,
    1.48 -	XS_GET_DOMAIN_PATH,
    1.49 -	XS_WRITE,
    1.50 -	XS_MKDIR,
    1.51 -	XS_RM,
    1.52 -	XS_SET_PERMS,
    1.53 -	XS_WATCH_EVENT,
    1.54 -	XS_ERROR,
    1.55 -};
    1.56 -
    1.57 -#define XS_WRITE_NONE "NONE"
    1.58 -#define XS_WRITE_CREATE "CREATE"
    1.59 -#define XS_WRITE_CREATE_EXCL "CREATE|EXCL"
    1.60 -
    1.61 -/* We hand errors as strings, for portability. */
    1.62 -struct xsd_errors
    1.63 -{
    1.64 -	int errnum;
    1.65 -	const char *errstring;
    1.66 -};
    1.67 -#define XSD_ERROR(x) { x, #x }
    1.68 -static struct xsd_errors xsd_errors[] __attribute__((unused)) = {
    1.69 -	XSD_ERROR(EINVAL),
    1.70 -	XSD_ERROR(EACCES),
    1.71 -	XSD_ERROR(EEXIST),
    1.72 -	XSD_ERROR(EISDIR),
    1.73 -	XSD_ERROR(ENOENT),
    1.74 -	XSD_ERROR(ENOMEM),
    1.75 -	XSD_ERROR(ENOSPC),
    1.76 -	XSD_ERROR(EIO),
    1.77 -	XSD_ERROR(ENOTEMPTY),
    1.78 -	XSD_ERROR(ENOSYS),
    1.79 -	XSD_ERROR(EROFS),
    1.80 -	XSD_ERROR(EBUSY),
    1.81 -	XSD_ERROR(EAGAIN),
    1.82 -	XSD_ERROR(EISCONN),
    1.83 -};
    1.84 -struct xsd_sockmsg
    1.85 -{
    1.86 -	u32 type;
    1.87 -	u32 len; 		/* Length of data following this. */
    1.88 -
    1.89 -	/* Generally followed by nul-terminated string(s). */
    1.90 -};
    1.91 -
    1.92 -#endif /* _XENSTORED_H */