Try
int check_with_message_format(char *message);
According to your code snippet, your phone_number and message array member better have the same number of elements.
typedef struct msg_format
{
char *phone_number[MAX_FIELDS];
char *message[MAX_FIELDS];
} message_format;