Lines Matching defs:floppyd
18 * IO to the floppyd daemon running on the local X-Server Host
74 static int authenticate_to_floppyd(RemoteFile_t *floppyd, int sock, char *display)
95 dword2byte(floppyd->version,buf+4);
109 floppyd->version = read_dword(sock);
111 floppyd->capabilities = read_dword(sock);
232 /* floppyd has no "explicit seek" capabilities */
488 * * Connect to the floppyd server.
530 static int ConnectToFloppyd(RemoteFile_t *floppyd, const char* name,
571 static int ConnectToFloppyd(RemoteFile_t *floppyd, const char* name,
578 &port, &floppyd->drive);
584 floppyd->version = FLOPPYD_PROTOCOL_VERSION;
585 floppyd->capabilities = 0;
592 "Can't connect to floppyd server on %s, port %i (%s)!",
596 "Can't connect to floppyd server on %s, port %i!",
602 reply = authenticate_to_floppyd(floppyd, sock, display);
603 if(floppyd->version == FLOPPYD_PROTOCOL_VERSION_OLD)
607 floppyd->version = FLOPPYD_PROTOCOL_VERSION_OLD;