#include #include #include #include int main(int argc, char** argv) { const char* vars[] = { "_source", "_source_relay", "_source_foo", "_sourcherry", "_foo", "bar", "_", }; int i; for (i = 0; i < sizeof(vars) / sizeof(*vars); i++) { printf(">> %s: %d %d\n", vars[i], sizeof(vars[i]), sizeof(*vars[i])); printf("%s: %d\n", vars[i], psyc_isRoutingVar(vars[i], strlen(vars[i]))); } return 0; }