qbipc_common.h | qbipc_common.h | |||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU Lesser General Public License for more details. | * GNU Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public License | * You should have received a copy of the GNU Lesser General Public License | |||
* along with libqb. If not, see <http://www.gnu.org/licenses/>. | * along with libqb. If not, see <http://www.gnu.org/licenses/>. | |||
*/ | */ | |||
#ifndef QB_IPC_COMMON_H_DEFINED | #ifndef QB_IPC_COMMON_H_DEFINED | |||
#define QB_IPC_COMMON_H_DEFINED | #define QB_IPC_COMMON_H_DEFINED | |||
/* *INDENT-OFF* */ | ||||
#ifdef __cplusplus | ||||
extern "C" { | ||||
#endif | ||||
/* *INDENT-ON* */ | ||||
struct qb_ipc_request_header { | struct qb_ipc_request_header { | |||
int32_t id __attribute__ ((aligned(8))); | int32_t id __attribute__ ((aligned(8))); | |||
int32_t size __attribute__ ((aligned(8))); | int32_t size __attribute__ ((aligned(8))); | |||
} __attribute__ ((aligned(8))); | } __attribute__ ((aligned(8))); | |||
struct qb_ipc_response_header { | struct qb_ipc_response_header { | |||
int32_t id __attribute__ ((aligned(8))); | int32_t id __attribute__ ((aligned(8))); | |||
int32_t size __attribute__ ((aligned(8))); | int32_t size __attribute__ ((aligned(8))); | |||
int32_t error __attribute__ ((aligned(8))); | int32_t error __attribute__ ((aligned(8))); | |||
} __attribute__ ((aligned(8))); | } __attribute__ ((aligned(8))); | |||
skipping to change at line 50 | skipping to change at line 56 | |||
QB_IPC_POSIX_MQ, | QB_IPC_POSIX_MQ, | |||
QB_IPC_SYSV_MQ, | QB_IPC_SYSV_MQ, | |||
}; | }; | |||
#define QB_IPC_MSG_NEW_MESSAGE 0 | #define QB_IPC_MSG_NEW_MESSAGE 0 | |||
#define QB_IPC_MSG_USER_START QB_IPC_MSG_NEW_MESSAGE | #define QB_IPC_MSG_USER_START QB_IPC_MSG_NEW_MESSAGE | |||
#define QB_IPC_MSG_AUTHENTICATE -1 | #define QB_IPC_MSG_AUTHENTICATE -1 | |||
#define QB_IPC_MSG_NEW_EVENT_SOCK -2 | #define QB_IPC_MSG_NEW_EVENT_SOCK -2 | |||
#define QB_IPC_MSG_DISCONNECT -3 | #define QB_IPC_MSG_DISCONNECT -3 | |||
/* *INDENT-OFF* */ | ||||
#ifdef __cplusplus | ||||
} | ||||
#endif | ||||
/* *INDENT-ON* */ | ||||
#endif /* QB_IPC_COMMON_H_DEFINED */ | #endif /* QB_IPC_COMMON_H_DEFINED */ | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 12 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |