You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
519 B
C
22 lines
519 B
C
|
|
|
|
/* If the message contains a string of the form:
|
|
TO: <Username>
|
|
then return 'Username' */
|
|
char* fetch_dest_user_string(char* message);
|
|
|
|
/* If the message contains a string of the form:
|
|
IAM: <Username>
|
|
then return 'Username' */
|
|
char* fetch_sender_user_string(char* message);
|
|
|
|
/* If the message contains a string of the form:
|
|
<Indicator>: <Value>
|
|
Then return 'value' */
|
|
char* fetch_generic_string(char* indicator, char* message);
|
|
|
|
/* If the message contains a string of the form:
|
|
START_OF_MESSAGE
|
|
<text>
|
|
END_OF_MESSAGE
|