~ubuntu-branches/ubuntu/utopic/pdns/utopic-updates

« back to all changes in this revision

Viewing changes to pdns/dynlistener.hh

  • Committer: Package Import Robot
  • Author(s): Marc Haber, Marc Haber, Evgeni Golov
  • Date: 2012-05-11 23:51:27 UTC
  • mfrom: (1.1.9) (12.1.14 sid)
  • Revision ID: package-import@ubuntu.com-20120511235127-v0qjuaplfckcb2cd
Tags: 3.1-1
[ Marc Haber ]
* Imported Upstream version 3.1
  * reduce column size for 'algorithm' to 50. Closes: #662935
  * handle smallcaps RRs. Closes: #656788
* refresh patches
* remove unused patches
* add patch to turn off the traceback handler at run time
* add patch for changeset 2575 (race condition with supermasters)
* fix mysql multiarch build failure, set cflags etc to hardening defaults
* do not run bootstrap a build time, using autotools_dev
* use dh-autoreconf, remove autofoo created files from
  patches/fix-mongodb-backend-patch
* fix dh invocation
* create MySQL databases with engine=innodb instead of type
* set debian/compat to 9
* Standards-Version: 3.9.3 (no changes needed)
* add myself to uploaders, change Vcs-Header to my git. Closes: #672550

[ Evgeni Golov ]
* use system libpolarssl if present, local copy otherwise.
  Closes: #671856, #656861

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
  static void *theListenerHelper(void *p);
51
51
 
52
52
  typedef string g_funk_t(const vector<string> &parts, Utility::pid_t ppid); // guido!
53
 
  typedef map<string,g_funk_t *> g_funkdb_t;
 
53
  typedef struct { g_funk_t *func; string args; string usage; } g_funkwithusage_t;
 
54
  typedef map<string,g_funkwithusage_t> g_funkdb_t;
54
55
  
55
 
  static void registerFunc(const string &name, g_funk_t *gf);
 
56
  static void registerFunc(const string &name, g_funk_t *gf, const string &usage="", const string &args="");
56
57
  static void registerRestFunc(g_funk_t *gf);
57
58
private:
58
59
  void sendLine(const string &line);
 
60
  string getHelp();
59
61
  string getLine();
60
62
 
61
63
  void listenOnUnixDomain(const std::string& fname);