mirror of
https://github.com/haiwen/ccnet-server.git
synced 2025-06-19 10:21:54 +00:00
20 lines
525 B
C
20 lines
525 B
C
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
|
|
#ifndef CCNET_PEERMGR_MESSAGE_H
|
|
#define CCNET_PEERMGR_MESSAGE_H
|
|
|
|
#include "message.h"
|
|
|
|
#define PEERMGR_VERSION 3
|
|
|
|
#define BIND_QUERY "bind-query"
|
|
#define BIND_STATUS "bind-status"
|
|
#define ROLE_NOTIFY "role-notify"
|
|
#define SERVICE_READY "service-ready"
|
|
#define PEER_REDIRECT "redirect"
|
|
|
|
int parse_peermgr_message (CcnetMessage *msg, guint16 *version,
|
|
char **type, char **body);
|
|
|
|
#endif
|