Changeset 1e3375b in mainline for uspace/lib/c
- Timestamp:
- 2015-03-10T23:36:53Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- acb8766e
- Parents:
- 1619faa (diff), 2c7fdaa (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/lib/c
- Files:
-
- 2 edited
-
generic/io/window.c (modified) (1 diff)
-
include/io/window.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/io/window.c
r1619faa r1e3375b 40 40 #include <stdio.h> 41 41 42 int win_register(async_sess_t *sess, service_id_t *in, service_id_t *out) 42 int win_register(async_sess_t *sess, window_flags_t flags, service_id_t *in, 43 service_id_t *out) 43 44 { 44 45 async_exch_t *exch = async_exchange_begin(sess); 45 int ret = async_req_ 0_2(exch, WINDOW_REGISTER, in, out);46 int ret = async_req_1_2(exch, WINDOW_REGISTER, flags, in, out); 46 47 async_exchange_end(exch); 47 48 -
uspace/lib/c/include/io/window.h
r1619faa r1e3375b 42 42 #include <io/kbd_event.h> 43 43 #include <io/pos_event.h> 44 45 typedef enum { 46 WINDOW_MAIN = 1, 47 WINDOW_DECORATED = 2, 48 WINDOW_RESIZEABLE = 4 49 } window_flags_t; 44 50 45 51 typedef enum { … … 108 114 } window_event_t; 109 115 110 extern int win_register(async_sess_t *, service_id_t *, service_id_t *); 116 extern int win_register(async_sess_t *, window_flags_t, service_id_t *, 117 service_id_t *); 111 118 112 119 extern int win_get_event(async_sess_t *, window_event_t *);
Note:
See TracChangeset
for help on using the changeset viewer.
