(submit/unexport-ddx-callbacks) os: rename ddx.h to ddx_priv.h

Make it clear that stuff from this file really isn't supposed to be used
by dynamically loaded modules like drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-02-27 16:14:01 +01:00
parent e42ccba0c7
commit 13abc0c5b7
16 changed files with 2 additions and 41 deletions

View File

@@ -1,27 +0,0 @@
/* SPDX-License-Identifier: MIT OR X11
*
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
*/
#ifndef _XSERVER_OS_DDX_H
#define _XSERVER_OS_DDX_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_H */

View File

@@ -33,6 +33,7 @@
#include <unistd.h>
#include <pthread.h>
#include "os/ddx_priv.h"
#include "dix/input_priv.h"
#include "os/ddx_priv.h"

View File

@@ -97,7 +97,6 @@ OR PERFORMANCE OF THIS SOFTWARE.
#include "os/osdep.h"
#include "opaque.h"
#include "ddx.h"
#ifdef XF86BIGFONT
#include "xf86bigfontsrv.h"

View File

@@ -118,7 +118,6 @@ __stdcall unsigned long GetTickCount(void);
#include "dixstruct.h"
#include "picture.h"
#include "miinitext.h"
#include "ddx.h"
#include "present.h"
#include "dixstruct_priv.h"
#include "dpmsproc.h"