version 1.1.2.1, 2012/01/26 14:45:02
|
version 1.2, 2012/06/20 15:02:23
|
Line 14 main(int argc, char **argv)
|
Line 14 main(int argc, char **argv)
|
len = strlen(argv[1]); |
len = strlen(argv[1]); |
printf("input=%s %d\n", argv[1], len); |
printf("input=%s %d\n", argv[1], len); |
|
|
len = mqtt_expandTopic(argv[1], blah, sizeof blah, 1, 1); | len = mqtt_expandTopic(argv[1], blah, sizeof blah, 1, 0); |
|
|
printf("result=%s ret=%d\n", blah, len); | printf("regex)result=%s ret=%d\n", blah, len); |
| |
| len = mqtt_sqlTopic(argv[1], blah, sizeof blah); |
| |
| printf("sql)result=%s ret=%d\n", blah, len); |
return 0; |
return 0; |
} |
} |