Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / network / common / include / syslog.h
blob5c54adda3a6b04a701110a6031695328753d6039
1 /*
2 * Copyright (C) 1994 AmiTCP/IP Group, <amitcp-group@hut.fi>
3 * Helsinki University of Technology, Finland.
4 * All rights reserved.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Library General Public License
8 * version 2 as published by the Free Software Foundation.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
15 * You should have received a copy of the GNU Library General Public
16 * License along with this file; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
18 * MA 02111-1307, USA.
22 #ifndef SYSLOG_H
23 #define SYSLOG_H
25 #include <sys/syslog.h>
26 #include <exec/ports.h>
28 #if defined(__MORPHOS__)
29 #pragma pack(2)
30 #endif
32 struct SysLogPacket
34 struct Message Msg;
35 ULONG Level;
36 IPTR Time;
37 STRPTR Tag;
38 STRPTR String;
41 #define LOG_CLOSE 0xff000000
43 #if defined(__MORPHOS__)
44 #pragma pack()
45 #endif
47 #endif /* !SYSLOG_H */