blob: 6e2fae16004741909d2968237131deea79db58ea [file] [log] [blame]
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2015, Colorado State University.
*
* This file is part of ndn-atmos.
*
* ndn-atmos is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later version.
*
* ndn-atmos is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
*
* You should have received copies of the GNU General Public License and GNU Lesser
* General Public License along with ndn-atmos, e.g., in COPYING.md file. If not, see
* <http://www.gnu.org/licenses/>.
*
* See AUTHORS.md for complete list of ndn-atmos authors and contributors.
*/
#include <ChronoSync/socket.hpp>
#include <ndn-cxx/face.hpp>
#include <json/value.h>
#include <mysql.h>
using namespace std;
using namespace ndn;
int main()
{
Face face; // use ndn-cxx
shared_ptr<chronosync::Socket> socket; // use ChronoSync
Json::Value root; // use jsoncpp
MYSQL *con = mysql_init(NULL);
if (con == NULL)
{
fprintf(stderr, "%s\n", mysql_error(con));
return 1;
}
return 0;
}