]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - pdns/dnswriter.hh
auth: switch circleci mssql image
[thirdparty/pdns.git] / pdns / dnswriter.hh
index 64b1e35eaf14723670e77b6525195226b98e04fc..f21b6e543f2d108ea48a5ac8afe11f93ad8fa7ba 100644 (file)
@@ -71,7 +71,7 @@ public:
 
   /** Shorthand way to add an Opt-record, for example for EDNS0 purposes */
   typedef vector<pair<uint16_t,std::string> > optvect_t;
-  void addOpt(uint16_t udpsize, int extRCode, int Z, const optvect_t& options=optvect_t(), uint8_t version=0);
+  void addOpt(const uint16_t udpsize, const uint16_t extRCode, const uint16_t ednsFlags, const optvect_t& options=optvect_t(), const uint8_t version=0);
 
   /** needs to be called after the last record is added, but can be called again and again later on. Is called internally by startRecord too.
       The content of the vector<> passed to the constructor is inconsistent until commit is called.