-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2586 from matt335672/move_xrdp_waitforx
waitforx logging improvements
- Loading branch information
Showing
6 changed files
with
206 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,21 @@ | ||
#ifndef XWAIT_H | ||
#define XWAIT_H | ||
|
||
enum xwait_status | ||
{ | ||
XW_STATUS_OK = 0, | ||
XW_STATUS_MISC_ERROR, | ||
XW_STATUS_TIMED_OUT, | ||
XW_STATUS_FAILED_TO_START | ||
}; | ||
|
||
/** | ||
* | ||
* @brief waits for X to start | ||
* @param display number | ||
* @return 0 on error, 1 if X has outputs | ||
* @return status | ||
* | ||
*/ | ||
int | ||
enum xwait_status | ||
wait_for_xserver(int display); | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
bin_PROGRAMS = \ | ||
xrdp-waitforx | ||
pkglibexec_PROGRAMS = \ | ||
waitforx | ||
|
||
AM_LDFLAGS = -lX11 -lXrandr | ||
|
||
AM_CPPFLAGS = -I$(top_srcdir)/common | ||
AM_CPPFLAGS = \ | ||
-I$(top_srcdir)/sesman \ | ||
-I$(top_srcdir)/common | ||
|
||
AM_CFLAGS = $(X_CFLAGS) | ||
|
||
xrdp_waitforx_SOURCES = waitforx.c | ||
waitforx_SOURCES = waitforx.c | ||
|
||
xrdp_waitforx_LDADD = \ | ||
waitforx_LDADD = \ | ||
$(top_builddir)/common/libcommon.la |
Oops, something went wrong.