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:
Harald Welte 2010-12-22 23:47:34 +01:00
parent 54209c2dce
commit e6da14fde4
3 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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());

View File

@ -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;