Loading README.md +7 −3 Original line number Diff line number Diff line Loading @@ -39,6 +39,8 @@ Common Developer Tasks NOTE: Prefix the following commands with `bundle exec` so that they execute in the context of the bundle environment setup via `bundle install`. * List available Rake tasks w/descriptions * `rake -T` * Run all tests and build the library and examples * `rake` * Build the library Loading @@ -48,11 +50,13 @@ NOTE: Prefix the following commands with `bundle exec` so that they execute in t * Analyze code * `rake cppcheck` * Generate documentation * TBD * Apply licenses * `./config/apply_license.sh my_new_file.cc` or `./config/apply_license.sh src/lib/*.h` * `rake doxygen:gen` * Apply license to source files (skips already licensed files) * `rake apply_license` * Build/install Google Protocol Buffers support for the Kinetic-Protocol * `rake proto` * Enable verbose output (for current Rake run) * `rake verbose *<task_A>* *<task_B>*` Examples ======== Loading Rakefile +7 −0 Original line number Diff line number Diff line Loading @@ -200,6 +200,13 @@ task :all => [ 'run' ] desc "Prepend license to source files" task :apply_license do Dir['include/**/*.h', 'src/**/*.h', 'src/**/*.c', 'test/**/*.h', 'test/**/*.c'].each do |f| sh "config/apply_license.sh #{f}" end end task :verbose do Rake::Task[:verbosity].invoke(4) # Set verbosity to 4-obnoxious for debugging end Loading src/lib/KineticApi.c +20 −0 Original line number Diff line number Diff line /* * kinetic-c-client * Copyright (C) 2014 Seagate Technology. * * 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 2 * 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, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * */ #include "KineticApi.h" #include "KineticLogger.h" #include <stdio.h> Loading src/lib/KineticApi.h +20 −0 Original line number Diff line number Diff line /* * kinetic-c-client * Copyright (C) 2014 Seagate Technology. * * 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 2 * 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, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * */ #ifndef _KINETIC_API_H #define _KINETIC_API_H Loading src/lib/KineticConnection.c +20 −0 Original line number Diff line number Diff line /* * kinetic-c-client * Copyright (C) 2014 Seagate Technology. * * 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 2 * 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, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * */ #include "KineticConnection.h" #include "KineticSocket.h" #include <string.h> Loading Loading
README.md +7 −3 Original line number Diff line number Diff line Loading @@ -39,6 +39,8 @@ Common Developer Tasks NOTE: Prefix the following commands with `bundle exec` so that they execute in the context of the bundle environment setup via `bundle install`. * List available Rake tasks w/descriptions * `rake -T` * Run all tests and build the library and examples * `rake` * Build the library Loading @@ -48,11 +50,13 @@ NOTE: Prefix the following commands with `bundle exec` so that they execute in t * Analyze code * `rake cppcheck` * Generate documentation * TBD * Apply licenses * `./config/apply_license.sh my_new_file.cc` or `./config/apply_license.sh src/lib/*.h` * `rake doxygen:gen` * Apply license to source files (skips already licensed files) * `rake apply_license` * Build/install Google Protocol Buffers support for the Kinetic-Protocol * `rake proto` * Enable verbose output (for current Rake run) * `rake verbose *<task_A>* *<task_B>*` Examples ======== Loading
Rakefile +7 −0 Original line number Diff line number Diff line Loading @@ -200,6 +200,13 @@ task :all => [ 'run' ] desc "Prepend license to source files" task :apply_license do Dir['include/**/*.h', 'src/**/*.h', 'src/**/*.c', 'test/**/*.h', 'test/**/*.c'].each do |f| sh "config/apply_license.sh #{f}" end end task :verbose do Rake::Task[:verbosity].invoke(4) # Set verbosity to 4-obnoxious for debugging end Loading
src/lib/KineticApi.c +20 −0 Original line number Diff line number Diff line /* * kinetic-c-client * Copyright (C) 2014 Seagate Technology. * * 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 2 * 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, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * */ #include "KineticApi.h" #include "KineticLogger.h" #include <stdio.h> Loading
src/lib/KineticApi.h +20 −0 Original line number Diff line number Diff line /* * kinetic-c-client * Copyright (C) 2014 Seagate Technology. * * 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 2 * 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, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * */ #ifndef _KINETIC_API_H #define _KINETIC_API_H Loading
src/lib/KineticConnection.c +20 −0 Original line number Diff line number Diff line /* * kinetic-c-client * Copyright (C) 2014 Seagate Technology. * * 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 2 * 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, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * */ #include "KineticConnection.h" #include "KineticSocket.h" #include <string.h> Loading