Mercurial > hg > freeDiameter
comparison extensions/app_acct/app_acct.h @ 528:1b3b9790e7cb
Add a new field in the app_acct.fdx database to receive the name of the local server.
Update your existing tables with the following SQL command:
ALTER TABLE "incoming" ADD "recorded_serv" bytea NOT NULL;
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Fri, 03 Sep 2010 16:46:16 +0900 |
parents | 0daf6fc2b751 |
children | 4a9f08d6b6ba |
comparison
equal
deleted
inserted
replaced
527:e27cb71abd4b | 528:1b3b9790e7cb |
---|---|
72 | 72 |
73 /* Raw information */ | 73 /* Raw information */ |
74 char *conninfo; /* the connection string to the database, that is passed as is to the database library */ | 74 char *conninfo; /* the connection string to the database, that is passed as is to the database library */ |
75 char *tablename; /* the name of the table we are working with */ | 75 char *tablename; /* the name of the table we are working with */ |
76 char *tsfield; /* the name of the timestamp field, or NULL if not required */ | 76 char *tsfield; /* the name of the timestamp field, or NULL if not required */ |
77 char *srvnfield; /* the name of the server name field, or NULL if not required */ | |
77 }; | 78 }; |
78 | 79 |
79 /* A successfully parsed Accounting-Request produces a list of these: */ | 80 /* A successfully parsed Accounting-Request produces a list of these: */ |
80 struct acct_record_item { | 81 struct acct_record_item { |
81 struct fd_list chain; /* link with all others */ | 82 struct fd_list chain; /* link with all others */ |