1 /*******************************************************************************
3 * server_common.h -- Nirvana Editor common server stuff *
5 * Copyright (C) 1999 Mark Edel *
7 * This is free software; you can redistribute it and/or modify it under the *
8 * terms of the GNU General Public License as published by the Free Software *
9 * Foundation; either version 2 of the License, or (at your option) any later *
12 * This software is distributed in the hope that it will be useful, but WITHOUT *
13 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or *
14 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License *
17 * You should have received a copy of the GNU General Public License along with *
18 * software; if not, write to the Free Software Foundation, Inc., 59 Temple *
19 * Place, Suite 330, Boston, MA 02111-1307 USA *
21 * Nirvana Text Editor *
24 * Written by Mark Edel *
26 *******************************************************************************/
28 #ifndef NEDIT_SERVER_COMMON_H_INCLUDED
29 #define NEDIT_SERVER_COMMON_H_INCLUDED
31 #include <X11/Intrinsic.h>
33 /* Lets limit the unique server name to MAXPATHLEN */
34 #define MAXSERVERNAMELEN MAXPATHLEN
36 #define DEFAULTSERVERNAME ""
38 void CreateServerPropertyAtoms(const char *serverName
,
39 Atom
*serverExistsAtomReturn
,
40 Atom
*serverRequestAtomReturn
);
41 Atom
CreateServerFileOpenAtom(const char *serverName
,
43 Atom
CreateServerFileClosedAtom(const char *serverName
,
46 void DeleteServerFileAtoms(const char* serverName
, Window rootWindow
);
48 #endif /* NEDIT_SERVER_COMMON_H_INCLUDED */