资 源 简 介
# Moved to GitHub #
This project has [moved to GitHub](http://github.com/mungerd/xauthxx).
# Description #
Xauth++ provides a C++ interface to Xauthority by wrapping libXau.
# Features #
* Xauthority file I/O
* Automatic generation of MIT Magic Cookies
* Easy-to-use object-oriented API
# Licensing #
All source files are distributed under the GNU LGPL except the example file,
testxauth.cc, which is distributed under the GNU GPL.
# Usage #
For example usage, see UsageExamples and testxauth.cc.
Compile and run with:
`g++ -Wall -pedantic -g -DHAVE_GCRYPT=1 -o testxauth testxauth.cc xauthxx.cc ````pkg-config --cflags --libs xau````` `````libgcrypt-config --cflags --libs```
**Warning:** It will create two new files in the working directory: Xauthority-1 and
Xauthority-2.
# Status #
Functional but not feature-complete compared to libXau. Feel free to contribute!
# Known Problems #
The API is not documented, but the example file should be self-explanatory.