Commit 07575e8c authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Add copyright and license

parent 5d2b3cec
......@@ -4,6 +4,10 @@ version = "0.1.0"
authors = ["Anders Blomdell <anders.blomdell@control.lth.se>"]
build = "build.rs"
links = "libhash.a,libssl"
description = "Generate a 'Table Of Contents' of a path"
homepage = "https://gitlab.control.lth.se/anders_blomdell/rust-hashtoc"
license = "GPL-3.0-only"
publish = false
[dependencies]
clap = "2.20.5"
......
This diff is collapsed.
/*
Copyright (C) 2018 Anders Blomdell <anders.blomdell@control.lth.se>
This file is part of hashtoc.
Hashtoc 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, version 3.
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 <https://www.gnu.org/licenses/>.
*/
use libc::{c_char, c_int, size_t, time_t};
use std::ffi::CString;
use std::os::unix::ffi::OsStrExt;
......
/*
Copyright (C) 2018 Anders Blomdell <anders.blomdell@control.lth.se>
This file is part of hashtoc.
Hashtoc 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, version 3.
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 <https://www.gnu.org/licenses/>.
*/
extern crate clap;
extern crate libc;
extern crate threadpool;
......
/*
Copyright (C) 2018 Anders Blomdell <anders.blomdell@control.lth.se>
This file is part of hashtoc.
Hashtoc 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, version 3.
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 <https://www.gnu.org/licenses/>.
*/
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
......
/*
Copyright (C) 2018 Anders Blomdell <anders.blomdell@control.lth.se>
This file is part of hashtoc.
Hashtoc 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, version 3.
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 <https://www.gnu.org/licenses/>.
*/
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
......
/*
Copyright (C) 2018 Anders Blomdell <anders.blomdell@control.lth.se>
This file is part of hashtoc.
Hashtoc 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, version 3.
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 <https://www.gnu.org/licenses/>.
*/
use std::io::{self, Write};
use std::path::Path;
use std::ffi::CString;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment