xref: /openbmc/qemu/qga/commands-windows-ssh.h (revision d5a8f0b200c41fe405f48c5d672c1338beab8d4c)
1*6b9296baSaidaleuc /*
2*6b9296baSaidaleuc  * Header file for commands-windows-ssh.c
3*6b9296baSaidaleuc  *
4*6b9296baSaidaleuc  * Copyright Schweitzer Engineering Laboratories. 2024
5*6b9296baSaidaleuc  *
6*6b9296baSaidaleuc  * Authors:
7*6b9296baSaidaleuc  *  Aidan Leuck <aidan_leuck@selinc.com>
8*6b9296baSaidaleuc  *
9*6b9296baSaidaleuc  * This work is licensed under the terms of the GNU GPL, version 2 or later.
10*6b9296baSaidaleuc  * See the COPYING file in the top-level directory.
11*6b9296baSaidaleuc  */
12*6b9296baSaidaleuc 
13*6b9296baSaidaleuc #include <glib/gstrfuncs.h>
14*6b9296baSaidaleuc #include <stdbool.h>
15*6b9296baSaidaleuc typedef struct WindowsUserInfo {
16*6b9296baSaidaleuc     char *sshDirectory;
17*6b9296baSaidaleuc     char *authorizedKeyFile;
18*6b9296baSaidaleuc     char *username;
19*6b9296baSaidaleuc     char *SSID;
20*6b9296baSaidaleuc     bool isAdmin;
21*6b9296baSaidaleuc } WindowsUserInfo;
22*6b9296baSaidaleuc 
23*6b9296baSaidaleuc typedef WindowsUserInfo *PWindowsUserInfo;
24*6b9296baSaidaleuc 
25*6b9296baSaidaleuc void free_userInfo(PWindowsUserInfo info);
26*6b9296baSaidaleuc G_DEFINE_AUTO_CLEANUP_FREE_FUNC(PWindowsUserInfo, free_userInfo, NULL);
27