ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Syncify/Syncify.cpp
Revision: 435
Committed: 2005-04-03T15:42:59-07:00 (20 years, 2 months ago) by douglas
File size: 647 byte(s)
Log Message:
Meep!

File Contents

# Content
1 // Syncify
2 //
3 // Douglas Thrift
4 //
5 // $Id$
6
7 #include "Syncify.hpp"
8
9 #include <menes-api/exename.hpp>
10 #include <menes-app/simple.hpp>
11
12 int Main(const app::Options& options)
13 {
14 //
15
16 _foreach (const app::ArgumentList, arg, app::GetArguments())
17 {
18 if (*arg == "-D")
19 Syncify::debug = true;
20 else
21 {
22 api::Cerr << "Usage: " << Syncify::program << " [-D]" << ios::NewLine;
23
24 return 1;
25 }
26 }
27
28 //
29
30 return 0;
31 }
32
33 extern "C"
34 {
35 void authenticate(const char* srv, const char* shr, char* wg, int wglen, char* un, int unlen, char* pw, int pwlen) {}
36 }
37
38 ext::String Syncify::program(api::GetExecutablePath().GetName());
39 bool Syncify::debug(false);

Properties

Name Value
svn:eol-style native
svn:keywords Id