include: use consistent prefix for header sandwich defines
Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
parent
3f19c0cef1
commit
13031f2a81
|
@ -1,5 +1,5 @@
|
|||
#ifndef _DECT_B_FMT_H
|
||||
#define _DECT_B_FMT_H
|
||||
#ifndef _LIBDECT_B_FMT_H
|
||||
#define _LIBDECT_B_FMT_H
|
||||
|
||||
struct dect_short_page_msg {
|
||||
uint8_t hdr;
|
||||
|
@ -45,4 +45,4 @@ enum lce_request_page_hdr_codes {
|
|||
|
||||
#define DECT_LCE_SHORT_PAGE_TPUI_MASK 0xffff
|
||||
|
||||
#endif /* _DECT_B_FMT_H */
|
||||
#endif /* _LIBDECT_B_FMT_H */
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* Copyright (c) 2009 Patrick McHardy <kaber@trash.net>
|
||||
*/
|
||||
|
||||
#ifndef _DECT_CC_H
|
||||
#define _DECT_CC_H
|
||||
#ifndef _LIBDECT_CC_H
|
||||
#define _LIBDECT_CC_H
|
||||
|
||||
/**
|
||||
* Call Control message types
|
||||
|
@ -330,4 +330,4 @@ struct dect_call {
|
|||
|
||||
#define DECT_CC_SETUP_TIMEOUT 20 /* seconds */
|
||||
|
||||
#endif /* _DECT_CC_H */
|
||||
#endif /* _LIBDECT_CC_H */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _DECT_IDENTITIES_H
|
||||
#define _DECT_IDENTITIES_H
|
||||
#ifndef _LIBDECT_IDENTITIES_H
|
||||
#define _LIBDECT_IDENTITIES_H
|
||||
|
||||
/*
|
||||
* Acess Rights Identity (ARI)
|
||||
|
@ -126,4 +126,4 @@ extern void dect_parse_pmid(struct dect_pmid *pmid, uint32_t p);
|
|||
extern void dect_tpui_to_pmid(struct dect_pmid *pmid, const struct dect_tpui *tpui);
|
||||
extern uint32_t dect_build_pmid(const struct dect_pmid *pmid);
|
||||
|
||||
#endif /* _DECT_IDENTITIES_H */
|
||||
#endif /* _LIBDECT_IDENTITIES_H */
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* Copyright (c) 2009 Patrick McHardy <kaber@trash.net>
|
||||
*/
|
||||
|
||||
#ifndef _DECT_LCE_H
|
||||
#define _DECT_LCE_H
|
||||
#ifndef _LIBDECT_LCE_H
|
||||
#define _LIBDECT_LCE_H
|
||||
|
||||
#include <assert.h>
|
||||
#include <linux/dect.h>
|
||||
|
@ -224,4 +224,4 @@ struct dect_lce_page_reject {
|
|||
extern int dect_lce_init(struct dect_handle *dh);
|
||||
extern void dect_lce_exit(struct dect_handle *dh);
|
||||
|
||||
#endif /* _DECT_LCE_H */
|
||||
#endif /* _LIBDECT_LCE_H */
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef _DECT_NETLINK_H
|
||||
#define _DECT_NETLINK_H
|
||||
#ifndef _LIBDECT_NETLINK_H
|
||||
#define _LIBDECT_NETLINK_H
|
||||
|
||||
extern int dect_netlink_init(struct dect_handle *dh);
|
||||
extern void dect_netlink_exit(struct dect_handle *dh);
|
||||
|
||||
#endif /* _DECT_NETLINK_H */
|
||||
#endif /* _LIBDECT_NETLINK_H */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _DECT_S_FMT_H
|
||||
#define _DECT_S_FMT_H
|
||||
#ifndef _LIBDECT_S_FMT_H
|
||||
#define _LIBDECT_S_FMT_H
|
||||
|
||||
#include <assert.h>
|
||||
#include <identities.h>
|
||||
|
@ -416,4 +416,4 @@ extern void dect_msg_free(const struct dect_handle *dh,
|
|||
const struct dect_sfmt_msg_desc *desc,
|
||||
struct dect_msg_common *msg);
|
||||
|
||||
#endif /* _DECT_S_FMT_H */
|
||||
#endif /* _LIBDECT_S_FMT_H */
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* Copyright (c) 2009 Patrick McHardy <kaber@trash.net>
|
||||
*/
|
||||
|
||||
#ifndef _DECT_SS_H
|
||||
#define _DECT_SS_H
|
||||
#ifndef _LIBDECT_SS_H
|
||||
#define _LIBDECT_SS_H
|
||||
|
||||
/**
|
||||
* Call Independant Supplementary Services messages types
|
||||
|
@ -78,4 +78,4 @@ enum dect_crss_msg_types {
|
|||
CRSS_FACILITY = 0x62,
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif /* _LIBDECT_SS_H */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _DECT_TIMER_H
|
||||
#define _DECT_TIMER_H
|
||||
#ifndef _LIBDECT_TIMER_H
|
||||
#define _LIBDECT_TIMER_H
|
||||
|
||||
struct dect_handle;
|
||||
|
||||
|
@ -33,4 +33,4 @@ extern void dect_start_timer(const struct dect_handle *dh,
|
|||
extern void dect_stop_timer(const struct dect_handle *dh, struct dect_timer *timer);
|
||||
extern bool dect_timer_running(const struct dect_timer *timer);
|
||||
|
||||
#endif /* _DECT_TIMER_H */
|
||||
#endif /* _LIBDECT_TIMER_H */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _UTILS_H
|
||||
#define _UTILS_H
|
||||
#ifndef _LIBDECT_UTILS_H
|
||||
#define _LIBDECT_UTILS_H
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdint.h>
|
||||
|
@ -115,4 +115,4 @@ static inline unsigned int fls(uint64_t v)
|
|||
return len;
|
||||
}
|
||||
|
||||
#endif /* _UTILS_H */
|
||||
#endif /* _LIBDECT_UTILS_H */
|
||||
|
|
Reference in New Issue