| 1 | /* |
| 2 | Authors: |
| 3 | Pavel Březina <[email protected]> |
| 4 | |
| 5 | Copyright (C) 2017 Red Hat |
| 6 | |
| 7 | This program is free software; you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation; either version 3 of the License, or |
| 10 | (at your option) any later version. |
| 11 | |
| 12 | This program is distributed in the hope that it will be useful, |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | GNU General Public License for more details. |
| 16 | |
| 17 | You should have received a copy of the GNU General Public License |
| 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ |
| 20 | |
| 21 | #include "lib/constants.h" |
| 22 | |
| 23 | _PUBLIC_ const char * |
| 24 | authselect_path_nsswitch() |
| 25 | { |
| 26 | return PATH_SYMLINK_NSSWITCH; |
| 27 | } |
| 28 | |
| 29 | _PUBLIC_ const char * |
| 30 | authselect_path_systemauth() |
| 31 | { |
| 32 | return PATH_SYMLINK_SYSTEM; |
| 33 | } |
| 34 | |
| 35 | _PUBLIC_ const char * |
| 36 | authselect_path_passwordauth() |
| 37 | { |
| 38 | return PATH_SYMLINK_PASSWORD; |
| 39 | } |
| 40 | |
| 41 | _PUBLIC_ const char * |
| 42 | authselect_path_smartcardauth() |
| 43 | { |
| 44 | return PATH_SYMLINK_SMARTCARD; |
| 45 | } |
| 46 | |
| 47 | _PUBLIC_ const char * |
| 48 | authselect_path_fingerprintauth() |
| 49 | { |
| 50 | return PATH_SYMLINK_FINGERPRINT; |
| 51 | } |
| 52 | |
| 53 | _PUBLIC_ const char * |
| 54 | authselect_path_switchableauth() |
| 55 | { |
| 56 | return PATH_SYMLINK_SWITCHABLE; |
| 57 | } |
| 58 | |
| 59 | _PUBLIC_ const char * |
| 60 | authselect_path_postlogin() |
| 61 | { |
| 62 | return PATH_SYMLINK_POSTLOGIN; |
| 63 | } |
| 64 | |
| 65 | _PUBLIC_ const char * |
| 66 | authselect_path_dconf_db() |
| 67 | { |
| 68 | return PATH_SYMLINK_DCONF_DB; |
| 69 | } |
| 70 | |
| 71 | _PUBLIC_ const char * |
| 72 | authselect_path_dconf_lock() |
| 73 | { |
| 74 | return PATH_SYMLINK_DCONF_LOCK; |
| 75 | } |