Added missing shell/macroMenuValid initializations.
[nedit.git] / source / server_common.h
blobd3723fe6f95aba622355e0050c485445c3cb371f
1 /*******************************************************************************
2 * *
3 * server_common.h -- Nirvana Editor common server stuff *
4 * *
5 * Copyright (C) 1999 Mark Edel *
6 * *
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 *
10 * version. *
11 * *
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 *
15 * for more details. *
16 * *
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 *
20 * *
21 * Nirvana Text Editor *
22 * November, 1995 *
23 * *
24 * Written by Mark Edel *
25 * *
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,
42 const char *path);
43 Atom CreateServerFileClosedAtom(const char *serverName,
44 const char *path,
45 Bool only_if_exists);
46 void DeleteServerFileAtoms(const char* serverName, Window rootWindow);
48 #endif /* NEDIT_SERVER_COMMON_H_INCLUDED */