1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
/* ipp-usb - HTTP reverse proxy, backed by IPP-over-USB connection to device
*
* Copyright (C) 2020 and up by Alexander Pevzner (pzz@apevzner.com)
* See LICENSE for license terms and conditions
*
* Common paths
*/
package main
const (
// PathConfDir defines path to configuration directory
PathConfDir = "/etc/ipp-usb"
// PathConfQuirksDir defines path to quirks files in configuration directory
PathConfQuirksDir = "/etc/ipp-usb/quirks"
// PathQuirksDir defines path to quirks files
PathQuirksDir = "/usr/share/ipp-usb/quirks"
// PathProgState defines path to program state directory
PathProgState = "/var/ipp-usb"
// PathLockDir defines path to directory that contains lock files
PathLockDir = PathProgState + "/lock"
// PathLockFile defines path to lock file
PathLockFile = PathLockDir + "/ipp-usb.lock"
// PathControlSocket defines path to the control socket
PathControlSocket = PathProgState + "/ctrl"
// PathProgStateDev defines path to directory where per-device state
// files are saved to
PathProgStateDev = PathProgState + "/dev"
// PathLogDir defines path to log directory
PathLogDir = "/var/log/ipp-usb"
// PathLogFile defines path to the main log file
PathLogFile = PathLogDir + "/main.log"
)
|