aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-02-23 16:58:15 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-02-23 16:58:15 +0100
commitd062f8318e3b4b61da4179162f6a0a44784d233e (patch)
tree8defc033620ddeb84d49b422f51f3bd3453d797c /include
parent765fba3fd03aac3cf569a924e3d36a6ff6c5b314 (diff)
mtp: Call the mtp_link_set always set otherwise things get confusing
In a backtrace it is confusing to see variables called link and link and one is a mtp_link and the other is a mtp_link_set.
Diffstat (limited to 'include')
-rw-r--r--include/isup_types.h2
-rw-r--r--include/mtp_data.h14
2 files changed, 8 insertions, 8 deletions
diff --git a/include/isup_types.h b/include/isup_types.h
index 9ded619..083f2bf 100644
--- a/include/isup_types.h
+++ b/include/isup_types.h
@@ -48,7 +48,7 @@ struct isup_msg_grs {
uint8_t pointer_int;
};
-int mtp_link_set_isup(struct mtp_link_set *link, struct msgb *msg, int sls);
+int mtp_link_set_isup(struct mtp_link_set *set, struct msgb *msg, int sls);
int isup_parse_status(const uint8_t *data, uint8_t length);
diff --git a/include/mtp_data.h b/include/mtp_data.h
index b9fbfb6..4af3777 100644
--- a/include/mtp_data.h
+++ b/include/mtp_data.h
@@ -141,11 +141,11 @@ struct mtp_link {
};
-void mtp_link_set_stop(struct mtp_link_set *link);
-void mtp_link_set_reset(struct mtp_link_set *link);
+void mtp_link_set_stop(struct mtp_link_set *set);
+void mtp_link_set_reset(struct mtp_link_set *set);
int mtp_link_set_data(struct mtp_link *link, struct msgb *msg);
-int mtp_link_set_submit_sccp_data(struct mtp_link_set *link, int sls, const uint8_t *data, unsigned int length);
-int mtp_link_set_submit_isup_data(struct mtp_link_set *link, int sls, const uint8_t *data, unsigned int length);
+int mtp_link_set_submit_sccp_data(struct mtp_link_set *set, int sls, const uint8_t *data, unsigned int length);
+int mtp_link_set_submit_isup_data(struct mtp_link_set *set, int sls, const uint8_t *data, unsigned int length);
void mtp_link_set_init_slc(struct mtp_link_set *set);
@@ -155,8 +155,8 @@ void mtp_link_unblock(struct mtp_link *link);
/* to be implemented for MSU sending */
void mtp_link_submit(struct mtp_link *link, struct msgb *msg);
-void mtp_link_set_forward_sccp(struct mtp_link_set *link, struct msgb *msg, int sls);
-void mtp_link_set_forward_isup(struct mtp_link_set *link, struct msgb *msg, int sls);
+void mtp_link_set_forward_sccp(struct mtp_link_set *set, struct msgb *msg, int sls);
+void mtp_link_set_forward_isup(struct mtp_link_set *set, struct msgb *msg, int sls);
void mtp_link_restart(struct mtp_link *link);
int mtp_link_set_send(struct mtp_link_set *set, struct msgb *msg);
@@ -171,7 +171,7 @@ int mtp_link_slta(struct mtp_link *link, uint16_t l3_len, struct mtp_level_3_mng
void mtp_link_failure(struct mtp_link *fail);
/* internal routines */
-struct msgb *mtp_msg_alloc(struct mtp_link_set *link);
+struct msgb *mtp_msg_alloc(struct mtp_link_set *set);
/* link management */
struct mtp_link_set *mtp_link_set_alloc(struct bsc_data *bsc);