summaryrefslogtreecommitdiffstats
path: root/servers/fpga_server_lin/src/main.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-26 15:43:45 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-26 15:43:45 -0500
commit249a46324f4f46a6c8afd11f74c8c73ede152184 (patch)
tree65ef4e06e7db679f96d29039066ee1ed712fb837 /servers/fpga_server_lin/src/main.cpp
parentfbfb9b1a49003013f646f81b344d5d3a44255c44 (diff)
downloadulab-249a46324f4f46a6c8afd11f74c8c73ede152184.tar.gz
ulab-249a46324f4f46a6c8afd11f74c8c73ede152184.zip
Add skeleton for missing functions in tde kerberos library
Diffstat (limited to 'servers/fpga_server_lin/src/main.cpp')
-rw-r--r--servers/fpga_server_lin/src/main.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/servers/fpga_server_lin/src/main.cpp b/servers/fpga_server_lin/src/main.cpp
index fa30af4..5a264d5 100644
--- a/servers/fpga_server_lin/src/main.cpp
+++ b/servers/fpga_server_lin/src/main.cpp
@@ -27,16 +27,16 @@
#include <unistd.h>
#include <stdlib.h>
+#include <tqdatetime.h>
+#include <tqfile.h>
+#include <tqdir.h>
+
#include <kapplication.h>
#include <kstartupinfo.h>
#include <kcmdlineargs.h>
#include <kaboutdata.h>
-
#include <ksimpleconfig.h>
-#include <tqdatetime.h>
-#include <tqfile.h>
-
#include "fpga_conn.h"
static const char description[] = I18N_NOOP("RemoteFPGA Kerberos Authentication Server");
@@ -56,8 +56,9 @@ int main(int argc, char *argv[])
KStartupInfo::appStarted();
- KSimpleConfig config("./remotefpga_fpgaserver.conf", false);
- AuthServer authsvr(0, config);
+ KSimpleConfig config(TQDir::currentDirPath() + "/remotefpga_fpgaserver.conf", false);
+ config.setGroup("Server");
+ FPGAServer fpgasvr(0, config.readNumEntry("port", 4010), &config);
return app.exec();
}