Commit 4bab5dad authored by Marek Vavruša's avatar Marek Vavruša

relicensed under GPLv3

parent c6dc6c86
This diff is collapsed.
/* Copyright 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> /* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
Licensed under the Apache License, Version 2.0 (the "License"); This program is free software: you can redistribute it and/or modify
you may not use this file except in compliance with the License. it under the terms of the GNU General Public License as published by
You may obtain a copy of the License at the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
http://www.apache.org/licenses/LICENSE-2.0 This program 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 General Public License for more details.
Unless required by applicable law or agreed to in writing, software You should have received a copy of the GNU General Public License
distributed under the License is distributed on an "AS IS" BASIS, along with this program. If not, see <http://www.gnu.org/licenses/>.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
See the License for the specific language governing permissions and
limitations under the License.
*/
#include <libknot/errcode.h> #include <libknot/errcode.h>
......
/* Copyright 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> /* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
Licensed under the Apache License, Version 2.0 (the "License"); This program is free software: you can redistribute it and/or modify
you may not use this file except in compliance with the License. it under the terms of the GNU General Public License as published by
You may obtain a copy of the License at the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
http://www.apache.org/licenses/LICENSE-2.0 This program 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 General Public License for more details.
Unless required by applicable law or agreed to in writing, software You should have received a copy of the GNU General Public License
distributed under the License is distributed on an "AS IS" BASIS, along with this program. If not, see <http://www.gnu.org/licenses/>.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
See the License for the specific language governing permissions and
limitations under the License.
*/
#pragma once #pragma once
......
/* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <getopt.h> #include <getopt.h>
...@@ -5,6 +21,8 @@ ...@@ -5,6 +21,8 @@
#include <uv.h> #include <uv.h>
#include <libknot/internal/sockaddr.h> #include <libknot/internal/sockaddr.h>
#include <libknot/errcode.h>
#include "lib/resolve.h" #include "lib/resolve.h"
#include "worker.h" #include "worker.h"
...@@ -12,6 +30,7 @@ void signal_handler(uv_signal_t *handle, int signum) ...@@ -12,6 +30,7 @@ void signal_handler(uv_signal_t *handle, int signum)
{ {
uv_stop(uv_default_loop()); uv_stop(uv_default_loop());
uv_signal_stop(handle); uv_signal_stop(handle);
exit(1);
} }
static void help(void) static void help(void)
......
/* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <uv.h> #include <uv.h>
#include <libknot/packet/pkt.h> #include <libknot/packet/pkt.h>
......
/* Copyright 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> /* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
Licensed under the Apache License, Version 2.0 (the "License"); This program is free software: you can redistribute it and/or modify
you may not use this file except in compliance with the License. it under the terms of the GNU General Public License as published by
You may obtain a copy of the License at the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
http://www.apache.org/licenses/LICENSE-2.0 This program 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 General Public License for more details.
Unless required by applicable law or agreed to in writing, software You should have received a copy of the GNU General Public License
distributed under the License is distributed on an "AS IS" BASIS, along with this program. If not, see <http://www.gnu.org/licenses/>.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
See the License for the specific language governing permissions and
limitations under the License.
*/
#pragma once #pragma once
......
/* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <assert.h> #include <assert.h>
#include <time.h> #include <time.h>
#include <sys/stat.h> #include <sys/stat.h>
......
/* Copyright 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> /* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
Licensed under the Apache License, Version 2.0 (the "License"); This program is free software: you can redistribute it and/or modify
you may not use this file except in compliance with the License. it under the terms of the GNU General Public License as published by
You may obtain a copy of the License at the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
http://www.apache.org/licenses/LICENSE-2.0 This program 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 General Public License for more details.
Unless required by applicable law or agreed to in writing, software You should have received a copy of the GNU General Public License
distributed under the License is distributed on an "AS IS" BASIS, along with this program. If not, see <http://www.gnu.org/licenses/>.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
See the License for the specific language governing permissions and
limitations under the License.
*/
#pragma once #pragma once
......
/* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <string.h> #include <string.h>
#include <libknot/errcode.h> #include <libknot/errcode.h>
......
/* Copyright 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> /* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
Licensed under the Apache License, Version 2.0 (the "License"); This program is free software: you can redistribute it and/or modify
you may not use this file except in compliance with the License. it under the terms of the GNU General Public License as published by
You may obtain a copy of the License at the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
http://www.apache.org/licenses/LICENSE-2.0 This program 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 General Public License for more details.
Unless required by applicable law or agreed to in writing, software You should have received a copy of the GNU General Public License
distributed under the License is distributed on an "AS IS" BASIS, along with this program. If not, see <http://www.gnu.org/licenses/>.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
See the License for the specific language governing permissions and
limitations under the License.
*/
#pragma once #pragma once
......
/* Copyright 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> /* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
Licensed under the Apache License, Version 2.0 (the "License"); This program is free software: you can redistribute it and/or modify
you may not use this file except in compliance with the License. it under the terms of the GNU General Public License as published by
You may obtain a copy of the License at the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
http://www.apache.org/licenses/LICENSE-2.0 This program 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 General Public License for more details.
Unless required by applicable law or agreed to in writing, software You should have received a copy of the GNU General Public License
distributed under the License is distributed on an "AS IS" BASIS, along with this program. If not, see <http://www.gnu.org/licenses/>.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
See the License for the specific language governing permissions and
limitations under the License.
*/
#pragma once #pragma once
......
/* Copyright 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> /* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
Licensed under the Apache License, Version 2.0 (the "License"); This program is free software: you can redistribute it and/or modify
you may not use this file except in compliance with the License. it under the terms of the GNU General Public License as published by
You may obtain a copy of the License at the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
http://www.apache.org/licenses/LICENSE-2.0 This program 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 General Public License for more details.
Unless required by applicable law or agreed to in writing, software You should have received a copy of the GNU General Public License
distributed under the License is distributed on an "AS IS" BASIS, along with this program. If not, see <http://www.gnu.org/licenses/>.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
See the License for the specific language governing permissions and
limitations under the License.
*/
#pragma once #pragma once
......
/* Copyright 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> /* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
Licensed under the Apache License, Version 2.0 (the "License"); This program is free software: you can redistribute it and/or modify
you may not use this file except in compliance with the License. it under the terms of the GNU General Public License as published by
You may obtain a copy of the License at the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
http://www.apache.org/licenses/LICENSE-2.0 This program 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 General Public License for more details.
Unless required by applicable law or agreed to in writing, software You should have received a copy of the GNU General Public License
distributed under the License is distributed on an "AS IS" BASIS, along with this program. If not, see <http://www.gnu.org/licenses/>.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
See the License for the specific language governing permissions and
limitations under the License.
*/
#include <sys/time.h> #include <sys/time.h>
......
/* Copyright 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> /* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
Licensed under the Apache License, Version 2.0 (the "License"); This program is free software: you can redistribute it and/or modify
you may not use this file except in compliance with the License. it under the terms of the GNU General Public License as published by
You may obtain a copy of the License at the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
http://www.apache.org/licenses/LICENSE-2.0 This program 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 General Public License for more details.
Unless required by applicable law or agreed to in writing, software You should have received a copy of the GNU General Public License
distributed under the License is distributed on an "AS IS" BASIS, along with this program. If not, see <http://www.gnu.org/licenses/>.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
See the License for the specific language governing permissions and
limitations under the License.
*/
#pragma once #pragma once
......
/* Copyright 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> /* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
Licensed under the Apache License, Version 2.0 (the "License"); This program is free software: you can redistribute it and/or modify
you may not use this file except in compliance with the License. it under the terms of the GNU General Public License as published by
You may obtain a copy of the License at the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
http://www.apache.org/licenses/LICENSE-2.0 This program 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 General Public License for more details.
Unless required by applicable law or agreed to in writing, software You should have received a copy of the GNU General Public License
distributed under the License is distributed on an "AS IS" BASIS, along with this program. If not, see <http://www.gnu.org/licenses/>.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
See the License for the specific language governing permissions and
limitations under the License.
*/
#include <libknot/descriptor.h> #include <libknot/descriptor.h>
#include <libknot/errcode.h> #include <libknot/errcode.h>
......
/* Copyright 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> /* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
Licensed under the Apache License, Version 2.0 (the "License"); This program is free software: you can redistribute it and/or modify
you may not use this file except in compliance with the License. it under the terms of the GNU General Public License as published by
You may obtain a copy of the License at the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
http://www.apache.org/licenses/LICENSE-2.0 This program 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 General Public License for more details.
Unless required by applicable law or agreed to in writing, software You should have received a copy of the GNU General Public License
distributed under the License is distributed on an "AS IS" BASIS, along with this program. If not, see <http://www.gnu.org/licenses/>.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
See the License for the specific language governing permissions and
limitations under the License.
*/
#pragma once #pragma once
......
/* Copyright 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> /* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
Licensed under the Apache License, Version 2.0 (the "License"); This program is free software: you can redistribute it and/or modify
you may not use this file except in compliance with the License. it under the terms of the GNU General Public License as published by
You may obtain a copy of the License at the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
http://www.apache.org/licenses/LICENSE-2.0 This program 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 General Public License for more details.
Unless required by applicable law or agreed to in writing, software You should have received a copy of the GNU General Public License
distributed under the License is distributed on an "AS IS" BASIS, along with this program. If not, see <http://www.gnu.org/licenses/>.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
See the License for the specific language governing permissions and
limitations under the License.
*/
#include "lib/layer/static.h" #include "lib/layer/static.h"
......
/* Copyright 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> /* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
Licensed under the Apache License, Version 2.0 (the "License"); This program is free software: you can redistribute it and/or modify
you may not use this file except in compliance with the License. it under the terms of the GNU General Public License as published by
You may obtain a copy of the License at the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
http://www.apache.org/licenses/LICENSE-2.0 This program 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 General Public License for more details.
Unless required by applicable law or agreed to in writing, software You should have received a copy of the GNU General Public License
distributed under the License is distributed on an "AS IS" BASIS, along with this program. If not, see <http://www.gnu.org/licenses/>.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
See the License for the specific language governing permissions and
limitations under the License.
*/
#pragma once #pragma once
......
/* Copyright 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> /* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
Licensed under the Apache License, Version 2.0 (the "License"); This program is free software: you can redistribute it and/or modify
you may not use this file except in compliance with the License. it under the terms of the GNU General Public License as published by
You may obtain a copy of the License at the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
http://www.apache.org/licenses/LICENSE-2.0 This program 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 General Public License for more details.
Unless required by applicable law or agreed to in writing, software You should have received a copy of the GNU General Public License
distributed under the License is distributed on an "AS IS" BASIS, along with this program. If not, see <http://www.gnu.org/licenses/>.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
See the License for the specific language governing permissions and
limitations under the License.
*/
#include <libknot/internal/print.h> #include <libknot/internal/print.h>
......
/* Copyright 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> /* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
Licensed under the Apache License, Version 2.0 (the "License"); This program is free software: you can redistribute it and/or modify
you may not use this file except in compliance with the License. it under the terms of the GNU General Public License as published by
You may obtain a copy of the License at the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
http://www.apache.org/licenses/LICENSE-2.0 This program 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 General Public License for more details.
Unless required by applicable law or agreed to in writing, software You should have received a copy of the GNU General Public License
distributed under the License is distributed on an "AS IS" BASIS, along with this program. If not, see <http://www.gnu.org/licenses/>.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
See the License for the specific language governing permissions and
limitations under the License.
*/
#pragma once #pragma once
......
/* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdio.h> #include <stdio.h>
#include <libknot/internal/mempool.h> #include <libknot/internal/mempool.h>
......
/* Copyright 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> /* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
Licensed under the Apache License, Version 2.0 (the "License"); This program is free software: you can redistribute it and/or modify
you may not use this file except in compliance with the License. it under the terms of the GNU General Public License as published by
You may obtain a copy of the License at the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
http://www.apache.org/licenses/LICENSE-2.0 This program 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 General Public License for more details.
Unless required by applicable law or agreed to in writing, software You should have received a copy of the GNU General Public License
distributed under the License is distributed on an "AS IS" BASIS, along with this program. If not, see <http://www.gnu.org/licenses/>.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
See the License for the specific language governing permissions and
limitations under the License.
*/
#pragma once #pragma once
......
/* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <sys/time.h> #include <sys/time.h>
#include <libknot/descriptor.h> #include <libknot/descriptor.h>
......
/* Copyright 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> /* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
Licensed under the Apache License, Version 2.0 (the "License"); This program is free software: you can redistribute it and/or modify
you may not use this file except in compliance with the License. it under the terms of the GNU General Public License as published by
You may obtain a copy of the License at the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
http://www.apache.org/licenses/LICENSE-2.0 This program 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 General Public License for more details.
Unless required by applicable law or agreed to in writing, software You should have received a copy of the GNU General Public License
distributed under the License is distributed on an "AS IS" BASIS, along with this program. If not, see <http://www.gnu.org/licenses/>.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
See the License for the specific language governing permissions and
limitations under the License.
*/
#pragma once #pragma once
......
/* Copyright 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> /* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
Licensed under the Apache License, Version 2.0 (the "License"); This program is free software: you can redistribute it and/or modify
you may not use this file except in compliance with the License. it under the terms of the GNU General Public License as published by
You may obtain a copy of the License at the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
http://www.apache.org/licenses/LICENSE-2.0 This program 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 General Public License for more details.
Unless required by applicable law or agreed to in writing, software You should have received a copy of the GNU General Public License
distributed under the License is distributed on an "AS IS" BASIS, along with this program. If not, see <http://www.gnu.org/licenses/>.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
See the License for the specific language governing permissions and
limitations under the License.
*/
#pragma once #pragma once
......
/* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <libknot/dnssec/random.h> #include <libknot/dnssec/random.h>
#include <libknot/descriptor.h>