Lines Matching defs:link
211 create_desktop_connection(ServerLink* link, const char* name, int32 capacity)
218 link->SetReceiverPort(clientPort);
235 link->SetSenderPort(desktopPort);
262 create_desktop_connection(ServerLink* link, const char* name, int32 capacity)
273 link->SetTo(serverPort, clientPort);
275 link->StartMessage(AS_GET_DESKTOP);
276 link->Attach<port_id>(clientPort);
277 link->Attach<int32>(getuid());
278 link->AttachString(getenv("TARGET_SCREEN"));
279 link->Attach<int32>(AS_PROTOCOL_VERSION);
282 if (link->FlushWithReply(code) != B_OK || code != B_OK) {
283 link->SetSenderPort(-1);
287 link->Read<port_id>(&serverPort);
288 link->SetSenderPort(serverPort);