top of page

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


Subscribe to news

Yeah :) You are with me now!

  • Black Facebook Icon
  • Black Twitter Icon
  • Black Pinterest Icon
  • Black Flickr Icon
  • Black Instagram Icon

© 2015-2016 by Alexey Zakharov (Napoleon80386). Proudly created with Wix.com

bottom of page