blob: 9b024a64a6407efbbb8d780a0c42732dfac0f6d5 [file] [log] [blame]
jacquelinecchuang617fd262024-04-19 03:11:14 +08001/*
2 * BRLTTY - A background process providing access to the console screen (when in
3 * text mode) for a blind person using a refreshable braille display.
4 *
5 * Copyright (C) 1995-2023 by The BRLTTY Developers.
6 *
7 * BRLTTY comes with ABSOLUTELY NO WARRANTY.
8 *
9 * This is free software, placed under the terms of the
10 * GNU Lesser General Public License, as published by the Free Software
11 * Foundation; either version 2.1 of the License, or (at your option) any
12 * later version. Please see the file LICENSE-LGPL for details.
13 *
14 * Web Page: http://brltty.app/
15 *
16 * This software is maintained by Dave Mielke <dave@mielke.cc>.
17 */
18
19#ifndef BRLTTY_INCLUDED_PGMPRIVS
20#define BRLTTY_INCLUDED_PGMPRIVS
21
22#ifdef __cplusplus
23extern "C" {
24#endif /* __cplusplus */
25
26extern const char *const *getPrivilegeParameterNames (void);
27extern const char *getPrivilegeParametersPlatform (void);
28extern void establishProgramPrivileges (char **parameters, int stayPrivileged);
29
30#ifdef __cplusplus
31}
32#endif /* __cplusplus */
33
34#endif /* BRLTTY_INCLUDED_PGMPRIVS */