jacquelinecchuang | 617fd26 | 2024-04-19 03:11:14 +0800 | [diff] [blame] | 1 | /* |
| 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 |
| 23 | extern "C" { |
| 24 | #endif /* __cplusplus */ |
| 25 | |
| 26 | extern const char *const *getPrivilegeParameterNames (void); |
| 27 | extern const char *getPrivilegeParametersPlatform (void); |
| 28 | extern void establishProgramPrivileges (char **parameters, int stayPrivileged); |
| 29 | |
| 30 | #ifdef __cplusplus |
| 31 | } |
| 32 | #endif /* __cplusplus */ |
| 33 | |
| 34 | #endif /* BRLTTY_INCLUDED_PGMPRIVS */ |