"Fossies" - the Fresh Open Source Software Archive

Member "glusterfs-8.2/xlators/features/snapview-server/src/snapview-server-messages.h" (16 Sep 2020, 2719 Bytes) of package /linux/misc/glusterfs-8.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "snapview-server-messages.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2  Copyright (c) 2018 Red Hat, Inc. <http://www.redhat.com>
    3  This file is part of GlusterFS.
    4 
    5  This file is licensed to you under your choice of the GNU Lesser
    6  General Public License, version 3 or any later version (LGPLv3 or
    7  later), or the GNU General Public License, version 2 (GPLv2), in all
    8  cases as published by the Free Software Foundation.
    9  */
   10 
   11 #ifndef _SNAPVIEW_SERVER_MESSAGES_H_
   12 #define _SNAPVIEW_SERVER_MESSAGES_H_
   13 
   14 #include <glusterfs/glfs-message-id.h>
   15 
   16 /* To add new message IDs, append new identifiers at the end of the list.
   17  *
   18  * Never remove a message ID. If it's not used anymore, you can rename it or
   19  * leave it as it is, but not delete it. This is to prevent reutilization of
   20  * IDs by other messages.
   21  *
   22  * The component name must match one of the entries defined in
   23  * glfs-message-id.h.
   24  */
   25 
   26 GLFS_MSGID(SNAPVIEW_SERVER, SVS_MSG_NO_MEMORY, SVS_MSG_MEM_ACNT_FAILED,
   27            SVS_MSG_NULL_GFID, SVS_MSG_GET_LATEST_SNAP_FAILED,
   28            SVS_MSG_INVALID_GLFS_CTX, SVS_MSG_LOCK_DESTROY_FAILED,
   29            SVS_MSG_SNAPSHOT_LIST_CHANGED, SVS_MSG_MGMT_INIT_FAILED,
   30            SVS_MSG_GET_SNAPSHOT_LIST_FAILED, SVS_MSG_GET_GLFS_H_OBJECT_FAILED,
   31            SVS_MSG_PARENT_CTX_OR_NAME_NULL, SVS_MSG_SET_INODE_CONTEXT_FAILED,
   32            SVS_MSG_GET_INODE_CONTEXT_FAILED, SVS_MSG_NEW_INODE_CTX_FAILED,
   33            SVS_MSG_DELETE_INODE_CONTEXT_FAILED, SVS_MSG_SET_FD_CONTEXT_FAILED,
   34            SVS_MSG_NEW_FD_CTX_FAILED, SVS_MSG_DELETE_FD_CTX_FAILED,
   35            SVS_MSG_GETXATTR_FAILED, SVS_MSG_LISTXATTR_FAILED,
   36            SVS_MSG_RELEASEDIR_FAILED, SVS_MSG_RELEASE_FAILED,
   37            SVS_MSG_TELLDIR_FAILED, SVS_MSG_STAT_FAILED, SVS_MSG_STATFS_FAILED,
   38            SVS_MSG_OPEN_FAILED, SVS_MSG_READ_FAILED, SVS_MSG_READLINK_FAILED,
   39            SVS_MSG_ACCESS_FAILED, SVS_MSG_GET_FD_CONTEXT_FAILED,
   40            SVS_MSG_DICT_SET_FAILED, SVS_MSG_OPENDIR_FAILED,
   41            SVS_MSG_FS_INSTANCE_INVALID, SVS_MSG_SETFSUID_FAIL,
   42            SVS_MSG_SETFSGID_FAIL, SVS_MSG_SETFSGRPS_FAIL,
   43            SVS_MSG_BUILD_TRNSPRT_OPT_FAILED, SVS_MSG_RPC_INIT_FAILED,
   44            SVS_MSG_REG_NOTIFY_FAILED, SVS_MSG_REG_CBK_PRGM_FAILED,
   45            SVS_MSG_RPC_CLNT_START_FAILED, SVS_MSG_XDR_PAYLOAD_FAILED,
   46            SVS_MSG_NULL_CTX, SVS_MSG_RPC_CALL_FAILED, SVS_MSG_XDR_DECODE_FAILED,
   47            SVS_MSG_RSP_DICT_EMPTY, SVS_MSG_DICT_GET_FAILED,
   48            SVS_MSG_SNAP_LIST_REFRESH_FAILED, SVS_MSG_RPC_REQ_FAILED,
   49            SVS_MSG_CLOSEDIR_FAILED, SVS_MSG_CLOSE_FAILED,
   50            SVS_MSG_GFID_GEN_FAILED, SVS_MSG_GLFS_NEW_FAILED,
   51            SVS_MSG_SET_VOLFILE_SERVR_FAILED, SVS_MSG_SET_LOGGING_FAILED,
   52            SVS_MSG_VOLFILE_SERVER_GET_FAIL, SVS_MSG_GLFS_INIT_FAILED);
   53 
   54 #endif /* !_SNAPVIEW_CLIENT_MESSAGES_H_ */