mcpp index

compat.xdmcp

#include

X Display Manager Control Protocol library

#include <X11/Xdmcp.h>
mcpp add compat.xdmcp@1.1.5

Usage

From this repository's own test project — built and run by CI, not written for the website.

#ifdef __linux__
#include <X11/Xauth.h>
#include <X11/Xdmcp.h>
int main() {
    ARRAY8 array{};
    const int allocated = XdmcpAllocARRAY8(&array, 1);
    if (allocated) XdmcpDisposeARRAY8(&array);
    char* auth_file = XauFileName();
    return allocated && auth_file != nullptr ? 0 : 1;
}
#else
int main() { return 0; }
#endif

tests/examples/gui-stack/tests/xorg.cpp · project tests/examples/gui-stack

Build

targets
Xdmcp (shared)
language
c++23
C standard
c11
import std
no
include dirs
*/include, *

Sources (8)

  • */Array.c
  • */Fill.c
  • */Flush.c
  • */Key.c
  • */Read.c
  • */Unwrap.c
  • */Wrap.c
  • */Write.c

Versions

VersionPlatforms Mirrorssha256
1.1.5 latest Linux CN GLOBAL 31a7abc4f129…