X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=database%2Futil.c;h=6a37e4920f5b2f30028d5918725e5d6bf058ac97;hb=7d8ef1902ef3030991b50a9414116a0615ac49d9;hp=ede0450431affa4c9998ca16cb7a050a7beb55b6;hpb=96ec261b36bdbb701e05f5ee1aab70dec44085f9;p=blerg.git diff --git a/database/util.c b/database/util.c index ede0450..6a37e49 100644 --- a/database/util.c +++ b/database/util.c @@ -1,4 +1,8 @@ -#define VALID_CHAR(x) (x == ' ' || x == '\'' || x == '-' || x == '.' || (x >= '0' && x <= '9') || (x >= 'A' && x <= 'Z') || x == '_' || (x >= 'a' && x <= 'z')) +/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a + * BSD-style license. Please see the COPYING file for details. + */ + +#include "database.h" int valid_name(const char *name) { int i;