forked from OpenPrinting/ipp-usb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
paths.go
39 lines (29 loc) · 1.11 KB
/
paths.go
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
/* ipp-usb - HTTP reverse proxy, backed by IPP-over-USB connection to device
*
* Copyright (C) 2020 and up by Alexander Pevzner ([email protected])
* 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"
// 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"
)