Skip to content

Commit

Permalink
Added explanation for more fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
shashankkumar committed Nov 23, 2011
1 parent 04dd246 commit 14e4af2
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions sample.config.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,39 @@
* After that, simply run make command from command line.
*/

/**
* The PATH option should point to the folder in which CodeRunner is stored.
*/
#define PATH "/home/shashank/git/CodeRunner/"

/**
* Specify the username and password to be used for communication over internet with the website.
* The "username" and "password" fields will be supplied via POST request while querying for pending file ids, fetching source
* code, and sending results.
*/
#define USERNAME "shashank"
#define PASSWORD "shashank"

/** HTTPON and FTPON are two methods by which source code can be downloaded from internet.
* If the preferred method is HTTP, then specify HTTPON as true.
* otherwise specify FTPON as true.
*/
#define FTPON false
#define HTTPON true

/**
* If the preferred method for source code download is FTP, then specify the FTP username
* and password field to be user during authentication in here.
*/
#define FTPUSERNAME ""
#define FTPPASSWORD ""

/**
* Specify the FTP url for downloading source code files here.
*/
#define FTPADDRESS "/Upload/"


#define URLToGetFileIds "http://192.168.208.7/return_id.php"
#define HTTPADDRESS "http://192.168.208.7/return_sourcecode.php"
#define FILEPATH "./Files/"
Expand All @@ -23,7 +49,3 @@
#define LOGFILEPATH "./Logs/logs2.txt"
#define SLEEPINTERVAL 30

/**
* The PATH option should point to the folder in which CodeRunner is stored.
*/
#define PATH "/home/shashank/git/CodeRunner/"

0 comments on commit 14e4af2

Please sign in to comment.