]> git.ipfire.org Git - thirdparty/cups.git/commit
Add UserAgentTokens config directive (Issue #5555)
authorMichael R Sweet <michael.r.sweet@gmail.com>
Mon, 15 Apr 2019 21:22:25 +0000 (17:22 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Mon, 15 Apr 2019 21:22:25 +0000 (17:22 -0400)
commit59cd12c6d2cea932f3133e6cb2bf710262be3f57
treea6fd8e8d94ea73fca66ff174f038e5cce0901fa8
parent4c00fa533f99ed1b17fa14d33e2fd42c54c45bea
Add UserAgentTokens config directive (Issue #5555)

cups/cups-private.h:
- Add enum and value for UserAgentTokens directive.

cups/usersys.c:
- _cups_finalize_conf(): Copy UserAgentTokens value to globals.
- _cups_init_conf(): Set default UserAgentTokens value and grab prefs.
- _cups_read_conf(): Look for UserAgentTokens value.
- _cups_set_uatokens(): Set UserAgentTokens value.
- cupsSetUserAgent(): Support UserAgentTokens values.
CHANGES.md
cups/cups-private.h
cups/usersys.c
man/client.conf.man.in
man/cupsd.conf.man.in