SDK Script syslog.are

syslog.are
/* DESC: Throw a simple syslog message.
 * Copyright (C) 2012 NetModule AG, Switzerland
 */
 
void usage() {
    printf("usage: syslog.are <msg>\n");
    exit(1);
}
 
if (argc < 1) {
    usage();
}
 
ret = nb_syslog(argv[1]);
if (ret != 0) {
    printf("Unable to send syslog message\n");
}
 
exit(0);