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