Port XLib to DOS, notes and intentions
- Алексей Захаров
- 7 янв. 2016 г.
- 1 мин. чтения
As I mentioned in one of my previous posts, Wine needs working Xlib functions.
Help with implementation is welcomed.
Primary set of functions is:
1) XrmInitialize. This function initizalizes X Resource Manager. No thoughts what I can write here. Maybe allocate some memory for something...
2) XrmGetFileDatabase. This function loads resources from file and creates database. I think it is simple file parsing.
3) XrmParseCommand. This functions reads resources from argc and argv and insert them into database. I think it is text parsing task.
4) XOpenDisplay. This is main initialization function from X Window System. It opens connection to X server and fills data into "Display" struct. It is almostly implemented by me (filling structure remained).
5) XSynchronize. This function just switches synchronization on/off. Maybe global flag?
6) XFree. This function releases any objects. This is simple free() functions, I guess.

Comments