#include <SDL_net.h>
#include <fstream>
#include "download.h"
#include "index_server.h"
#include "index_svr_msg.h"
#include "network.h"
#include "gui/question.h"
#include "include/app.h"
#include "include/constant.h"
#include "tool/debug.h"
#include "tool/i18n.h"
#include "tool/random.h"
Include dependency graph for index_server.cpp:
Go to the source code of this file.
Functions | |
static ssize_t | getline (std::string &line, std::ifstream &file) |
Variables | |
IndexServer | index_server |
static ssize_t getline | ( | std::string & | line, | |
std::ifstream & | file | |||
) | [static] |
Definition at line 137 of file index_server.cpp.
00138 { 00139 line.clear(); 00140 std::getline(file, line); 00141 if(file.eof()) 00142 return -1; 00143 return line.size(); 00144 }
Here is the caller graph for this function:
Definition at line 36 of file index_server.cpp.