00001 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ 00002 /* dbus-protocol.h D-Bus protocol constants 00003 * 00004 * Copyright (C) 2002, 2003 CodeFactory AB 00005 * Copyright (C) 2004, 2005 Red Hat, Inc. 00006 * 00007 * Licensed under the Academic Free License version 2.1 00008 * 00009 * This program is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 of the License, or 00012 * (at your option) any later version. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program; if not, write to the Free Software 00021 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00022 * 00023 */ 00024 00025 #ifndef DBUS_PROTOCOL_H 00026 #define DBUS_PROTOCOL_H 00027 00028 /* Don't include anything in here from anywhere else. It's 00029 * intended for use by any random library. 00030 */ 00031 00032 #ifdef __cplusplus 00033 extern "C" { 00034 #if 0 00035 } /* avoids confusing emacs indentation */ 00036 #endif 00037 #endif 00038 00039 /* Normally docs are in .c files, but there isn't a .c file for this. */ 00052 /* Message byte order */ 00053 #define DBUS_LITTLE_ENDIAN ('l') 00054 #define DBUS_BIG_ENDIAN ('B') 00057 #define DBUS_MAJOR_PROTOCOL_VERSION 1 00058