Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Subject: Egor's daemon - missed a file From: Robert Collins To: cygwin-patches AT cygwin DOT com, cygwin-developers AT cygwin DOT com Content-Type: multipart/mixed; boundary="=-zTic9Ak/P4ZfWtgPISch" X-Mailer: Evolution/0.13 (Preview Release) Date: 12 Sep 2001 21:53:38 +1000 Message-Id: <1000295620.30375.73.camel@lifelesswks> Mime-Version: 1.0 X-OriginalArrivalTime: 12 Sep 2001 11:40:29.0840 (UTC) FILETIME=[B946E100:01C13B7F] --=-zTic9Ak/P4ZfWtgPISch Content-Type: text/plain Content-Transfer-Encoding: 7bit this belongs in include/cygwin --=-zTic9Ak/P4ZfWtgPISch Content-Type: text/x-c Content-Disposition: attachment; filename=cygserver.h Content-ID: <1000295600 DOT 30340 DOT 71 DOT camel AT lifelesswks> Content-Transfer-Encoding: 7bit /* cygserver.h Copyright 2001 Red Hat Inc. Written by Egor Duda This file is part of Cygwin. This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for details. */ #define MAX_REQUEST_SIZE 128 #define CYGWIN_SERVER_VERSION_MAJOR 1 #define CYGWIN_SERVER_VERSION_API 1 #define CYGWIN_SERVER_VERSION_MINOR 0 #define CYGWIN_SERVER_VERSION_PATCH 0 struct request_header { DWORD cb; DWORD req_id; DWORD error_code; } #ifdef __GNUC__ __attribute__ ((packed)) #endif ; extern void cygserver_init (); extern int cygserver_request (struct request_header*); #define INIT_REQUEST(req,id) \ (req).header.cb = sizeof (req); \ (req).header.req_id = id; #define CYGSERVER_REQUEST_GET_VERSION 1 #define CYGSERVER_REQUEST_ATTACH_TTY 2 struct request_get_version { struct request_header header; DWORD major, api, minor, patch; } #ifdef __GNUC__ __attribute__ ((packed)) #endif ; struct request_attach_tty { struct request_header header; DWORD pid, master_pid; HANDLE from_master, to_master; } #ifdef __GNUC__ __attribute__ ((packed)) #endif ; --=-zTic9Ak/P4ZfWtgPISch--