Files
grd/grd-enums.h
2026-02-13 13:06:50 +09:00

54 lines
1.4 KiB
C

/*
* Copyright (C) 2018 Red Hat Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*
*/
#pragma once
typedef enum
{
GRD_RDP_SCREEN_SHARE_MODE_MIRROR_PRIMARY,
GRD_RDP_SCREEN_SHARE_MODE_EXTEND,
} GrdRdpScreenShareMode;
typedef enum
{
GRD_VNC_AUTH_METHOD_PROMPT,
GRD_VNC_AUTH_METHOD_PASSWORD
} GrdVncAuthMethod;
typedef enum
{
GRD_VNC_SCREEN_SHARE_MODE_MIRROR_PRIMARY,
GRD_VNC_SCREEN_SHARE_MODE_EXTEND,
} GrdVncScreenShareMode;
typedef enum
{
GRD_RUNTIME_MODE_SCREEN_SHARE,
GRD_RUNTIME_MODE_HEADLESS,
GRD_RUNTIME_MODE_SYSTEM,
GRD_RUNTIME_MODE_HANDOVER,
} GrdRuntimeMode;
typedef enum
{
GRD_RDP_AUTH_METHOD_CREDENTIALS = 1 << 0,
GRD_RDP_AUTH_METHOD_KERBEROS = 1 << 1,
} GrdRdpAuthMethods;