xrdp/tests/libipm
Daniel Richard G 1c0c923ad1 Split g_file_open() into _ro() and _rw() variants
Rename g_file_open() to g_file_open_rw(), and add a new g_file_open_ro()
call that wraps the common g_file_open_ex(file, 1, 0, 0, 0) idiom. This
will make the file access mode more explicit in the code.

Change all calls to g_file_open() to the _ro() or _rw() variant as
appropriate, and replace g_file_open_ex(file, 1, 0, 0, 0) with the _ro()
call.

Lastly, add tests for the two new calls to test_os_calls.c (code
courteously provided by matt335672).
2023-05-15 17:38:31 -04:00
..
Makefile.am Add libipm test suite 2022-03-15 10:23:27 +00:00
test_libipm.h Add tests for libipm file descriptor calls 2023-01-30 14:31:16 +00:00
test_libipm_main.c Split g_file_open() into _ro() and _rw() variants 2023-05-15 17:38:31 -04:00
test_libipm_recv_calls.c Add tests for libipm file descriptor calls 2023-01-30 14:31:16 +00:00
test_libipm_send_calls.c Add tests for libipm file descriptor calls 2023-01-30 14:31:16 +00:00