MNCC: clarify naming / rename mncc_recv() to int_mncc_recv()
the int_ perfix (internal) symbolizes that this is the internal MNCC handler code, receiving messages from the MNCC interface point.
This commit is contained in:
parent
54209c2dce
commit
e6da14fde4
|
@ -155,7 +155,7 @@ struct gsm_data_frame {
|
|||
};
|
||||
|
||||
char *get_mncc_name(int value);
|
||||
int mncc_recv(struct gsm_network *net, int msg_type, void *arg);
|
||||
int int_mncc_recv(struct gsm_network *net, int msg_type, void *arg);
|
||||
void mncc_set_cause(struct gsm_mncc *data, int loc, int val);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -242,7 +242,7 @@ int main(int argc, char **argv)
|
|||
/* parse options */
|
||||
handle_options(argc, argv);
|
||||
|
||||
rc = bsc_bootstrap_network(mncc_recv, config_file);
|
||||
rc = bsc_bootstrap_network(int_mncc_recv, config_file);
|
||||
if (rc < 0)
|
||||
exit(1);
|
||||
bsc_api_init(bsc_gsmnet, msc_bsc_api());
|
||||
|
|
|
@ -347,7 +347,8 @@ static int mncc_rcv_tchf(struct gsm_call *call, int msg_type,
|
|||
}
|
||||
|
||||
|
||||
int mncc_recv(struct gsm_network *net, int msg_type, void *arg)
|
||||
/* Internal MNCC handler input function (from CC -> MNCC -> here) */
|
||||
int int_mncc_recv(struct gsm_network *net, int msg_type, void *arg)
|
||||
{
|
||||
struct gsm_mncc *data = arg;
|
||||
int callref;
|
||||
|
|
Loading…
Reference in New Issue