Changes in uspace/lib/c/generic/clipboard.c [63f8966:007e6efa] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/clipboard.c
r63f8966 r007e6efa 39 39 40 40 #include <clipboard.h> 41 #include <ipc/ns.h> 41 42 #include <ipc/services.h> 42 43 #include <ipc/clipboard.h> … … 54 55 { 55 56 while (clip_phone < 0) 56 clip_phone = ipc_connect_me_to_blocking(PHONE_NS,SERVICE_CLIPBOARD, 0, 0);57 clip_phone = service_connect_blocking(SERVICE_CLIPBOARD, 0, 0); 57 58 } 58 59 … … 75 76 clip_connect(); 76 77 77 ipcarg_t rc = async_req_1_0(clip_phone, CLIPBOARD_PUT_DATA, CLIPBOARD_TAG_NONE);78 sysarg_t rc = async_req_1_0(clip_phone, CLIPBOARD_PUT_DATA, CLIPBOARD_TAG_NONE); 78 79 79 80 async_serialize_end(); … … 85 86 86 87 aid_t req = async_send_1(clip_phone, CLIPBOARD_PUT_DATA, CLIPBOARD_TAG_DATA, NULL); 87 ipcarg_t rc = async_data_write_start(clip_phone, (void *) str, size);88 sysarg_t rc = async_data_write_start(clip_phone, (void *) str, size); 88 89 if (rc != EOK) { 89 ipcarg_t rc_orig;90 sysarg_t rc_orig; 90 91 async_wait_for(req, &rc_orig); 91 92 async_serialize_end(); … … 119 120 clip_connect(); 120 121 121 ipcarg_t size;122 ipcarg_t tag;123 ipcarg_t rc = async_req_0_2(clip_phone, CLIPBOARD_CONTENT, &size, &tag);122 sysarg_t size; 123 sysarg_t tag; 124 sysarg_t rc = async_req_0_2(clip_phone, CLIPBOARD_CONTENT, &size, &tag); 124 125 125 126 async_serialize_end(); … … 158 159 159 160 if (rc != EOK) { 160 ipcarg_t rc_orig;161 sysarg_t rc_orig; 161 162 async_wait_for(req, &rc_orig); 162 163 async_serialize_end();
Note:
See TracChangeset
for help on using the changeset viewer.