xserver/os/ddx_priv.h
Enrico Weigelt, metux IT consult e5c8b664d3 os: unexport ddx callbacks
The DDX callbacks (where core/DIX calls into DDX) aren't supposed to be
called by drivers directly, so unexport them.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1332>
2024-05-08 09:37:35 +02:00

27 lines
687 B
C

/* SPDX-License-Identifier: MIT OR X11
*
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
*/
#ifndef _XSERVER_OS_DDX_PRIV_H
#define _XSERVER_OS_DDX_PRIV_H
#include "os.h"
/* callbacks of the DDX, which are called by DIX or OS layer.
DDX's need to implement these in order to handle DDX specific things.
*/
/* called before server reset */
void ddxBeforeReset(void);
/* called by ProcessCommandLine, so DDX can catch cmdline args */
int ddxProcessArgument(int argc, char *argv[], int i);
/* print DDX specific usage message */
void ddxUseMsg(void);
void ddxGiveUp(enum ExitCode error);
void ddxInputThreadInit(void);
#endif /* _XSERVER_OS_DDX_PRIV_H */