1 /* server.h -- Definitions for client/server 2 $Id$ 3 4 Copyright (C) 1999 John Harper <john@dcs.warwick.ac.uk> 5 6 This file is part of sawfish. 7 8 sawfish is free software; you can redistribute it and/or modify it 9 under the terms of the GNU General Public License as published by 10 the Free Software Foundation; either version 2, or (at your option) 11 any later version. 12 13 sawfish is distributed in the hope that it will be useful, but 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 GNU General Public License for more details. 17 18 You should have received a copy of the GNU General Public License 19 along with sawfish; see the file COPYING. If not, write to 20 the Free Software Foundation, 51 Franklin Street, Fifth Floor, 21 Boston, MA 02110-1301 USA. */ 22 23 #ifndef SAWFISH_SERVER_H 24 #define SAWFISH_SERVER_H 25 26 /* Directory containing the unix domain sockets, each socket is 27 simply the canonical display name */ 28 #define SAWFISH_SOCK_DIR "/tmp/.sawfish-%s" 29 30 /* Types of request packet. A byte with one of these values is sent to 31 initiate a command. */ 32 enum server_request { 33 req_eval, 34 req_eval_async, 35 req_end_of_session = 255 36 }; 37 38 #endif /* SAWFISH_SERVER_H */ 39