Translation update done using Pootle.
[gammu.git] / tests / statemachine-alloc.c
blobe75940eee2561a5836c52394918d035e03fa5b1c
1 #include <gammu.h>
2 #include <stdlib.h>
3 #include <stdio.h>
5 GSM_StateMachine *s;
7 int main(int argc UNUSED, char **argv UNUSED)
9 /* Allocates state machine */
10 s = GSM_AllocStateMachine();
11 if (s == NULL) {
12 printf("Could not allocate state machine!\n");
13 return 1;
16 /* Free state machine */
17 GSM_FreeStateMachine(s);
18 return 0;
21 /* Editor configuration
22 * vim: noexpandtab sw=8 ts=8 sts=8 tw=72: