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