(root)/
glib-2.79.0/
gio/
gwin32sid.h
       1  /* GIO - GLib Input, Output and Streaming Library
       2   *
       3   * Copyright (C) 2018 Руслан Ижбулатов
       4   * Copyright (C) 2022 Red Hat, Inc.
       5   *
       6   * SPDX-License-Identifier: LGPL-2.1-or-later
       7   *
       8   * This library is free software; you can redistribute it and/or
       9   * modify it under the terms of the GNU Lesser General Public
      10   * License as published by the Free Software Foundation; either
      11   * version 2.1 of the License, or (at your option) any later version.
      12   *
      13   * This library is distributed in the hope that it will be useful,
      14   * but WITHOUT ANY WARRANTY; without even the implied warranty of
      15   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      16   * Lesser General Public License for more details.
      17   *
      18   * You should have received a copy of the GNU Lesser General
      19   * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
      20   *
      21   * Author: Руслан Ижбулатов <lrn1986@gmail.com>
      22   */
      23  
      24  #ifndef __G_WIN32_SID_H__
      25  #define __G_WIN32_SID_H__
      26  
      27  #include <glib.h>
      28  #include <windows.h>
      29  
      30  G_BEGIN_DECLS
      31  
      32  SID      * _g_win32_process_get_access_token_sid         (DWORD    process_id,
      33                                                            GError **error);
      34  
      35  gchar    * _g_win32_sid_to_string                        (SID     *sid,
      36                                                            GError **error);
      37  
      38  gchar    * _g_win32_current_process_sid_string           (GError **error);
      39  
      40  G_END_DECLS
      41  
      42  #endif /* __G_WIN32_SID_H__ */