1 #include <cstdio> 2 #include "setquery.h" 3 4 /* 5 6 copyright (c) 2005 squell <squell@alumina.nl> 7 8 use, modification, copying and distribution of this software is permitted 9 under the conditions described in the file 'COPYING'. 10 11 */ 12 13 using tag::write::query; 14 15 typedef int concreteness_check[ sizeof query() ]; 16 vmodify(const char * fname,const function & edit) const17bool query::vmodify(const char* fname, const function& edit) const 18 { 19 return log( std::string(edit(fmt)).c_str() ), true; 20 } 21 log(const char * msg) const22void query::log(const char* msg) const 23 { 24 std::puts(msg); 25 } 26 27