File: sqls.c

package info (click to toggle)
proftpd 1.2.0pre9-4
  • links: PTS
  • area: main
  • in suites: slink
  • size: 2,392 kB
  • ctags: 2,648
  • sloc: ansic: 24,012; sh: 1,754; makefile: 536; perl: 281
file content (23 lines) | stat: -rw-r--r-- 740 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  static char *user_init =
    "CREATE TABLE users ("
    "userid varchar(50) NOT NULL,"
    "passwd varchar(15),"
    "uid int,"
    "gid int,"
    "fstor int NOT NULL DEFAULT '0',"
    "fretr int NOT NULL DEFAULT '0',"
    "bstor int NOT NULL DEFAULT '0',"
    "bretr int NOT NULL DEFAULT '0',"
    "fhdir varchar(255),"
    "fhost varchar(50),"
    "faddr char(15),"
    "ftime timestamp,"
    "fcdir varchar(255),"
    "frate int NOT NULL DEFAULT '0',"
    "fcred int NOT NULL DEFAULT '0',"
    "brate int NOT NULL DEFAULT '0',"
    "bcred int NOT NULL DEFAULT '0'," "count int NOT NULL DEFAULT '0');";
  static char *files_init =
    "CREATE TABLE files ("
    "dir varchar(255) NOT NULL," "file varchar(50)," "count int NOT NULL);";