diff --git a/librab/build/.clang-format b/librab/build/.clang-format
new file mode 100644
index 0000000..8aa6b1a
--- /dev/null
+++ b/librab/build/.clang-format
@@ -0,0 +1,47 @@
+---
+# BasedOnStyle: Google
+AccessModifierOffset: -1
+ConstructorInitializerIndentWidth: 4
+AlignEscapedNewlinesLeft: true
+AlignTrailingComments: true
+AllowAllParametersOfDeclarationOnNextLine: true
+AllowShortIfStatementsOnASingleLine: true
+AllowShortLoopsOnASingleLine: true
+AlwaysBreakTemplateDeclarations: true
+AlwaysBreakBeforeMultilineStrings: true
+BreakBeforeBinaryOperators: false
+BreakBeforeTernaryOperators: true
+BreakConstructorInitializersBeforeComma: false
+BinPackParameters: true
+ColumnLimit: 80
+ConstructorInitializerAllOnOneLineOrOnePerLine: true
+DerivePointerBinding: true
+ExperimentalAutoDetectBinPacking: false
+IndentCaseLabels: true
+MaxEmptyLinesToKeep: 1
+NamespaceIndentation: None
+ObjCSpaceBeforeProtocolList: false
+PenaltyBreakBeforeFirstCallParameter: 1
+PenaltyBreakComment: 60
+PenaltyBreakString: 1000
+PenaltyBreakFirstLessLess: 120
+PenaltyExcessCharacter: 1000000
+PenaltyReturnTypeOnItsOwnLine: 200
+PointerBindsToType: true
+SpacesBeforeTrailingComments: 2
+Cpp11BracedListStyle: true
+Standard: Auto
+IndentWidth: 2
+TabWidth: 8
+UseTab: Never
+BreakBeforeBraces: Attach
+IndentFunctionDeclarationAfterType: true
+SpacesInParentheses: false
+SpacesInAngles: false
+SpaceInEmptyParentheses: false
+SpacesInCStyleCastParentheses: false
+SpaceAfterControlStatementKeyword: true
+SpaceBeforeAssignmentOperators: true
+ContinuationIndentWidth: 4
+...
+
diff --git a/librab/build/.gitattributes b/librab/build/.gitattributes
new file mode 100644
index 0000000..a465161
--- /dev/null
+++ b/librab/build/.gitattributes
@@ -0,0 +1,18 @@
+# Default for those who don't have core.autocrlf set
+* text=auto
+
+# Things that should be treated like text (lines converted on checkout):
+*.c text
+*.h text
+*.py text
+*.cmake text
+*.md text
+# This is for the output of table_test
+*.expected text
+*.xml
+
+# Exceptions to the rule:
+*.ac text eol=lf
+*.am text eol=lf
+*.m4 text eol=lf
+
diff --git a/librab/build/.gitignore b/librab/build/.gitignore
new file mode 100644
index 0000000..1791e28
--- /dev/null
+++ b/librab/build/.gitignore
@@ -0,0 +1,73 @@
+*.la
+*.lo
+*.o
+.deps
+.dirstamp
+.libs
+/aclocal.m4
+/autom4te.cache
+/bin*
+/build
+/compile
+/config.guess
+/config.h
+/config.h.in
+/config.h.in~
+/config.log
+/config.status
+/config.sub
+/configure
+/cscope.*
+/depcomp
+/install-sh
+/libtool
+/ltmain.sh
+/missing
+/stamp-h1
+/test-suite.log
+INSTALL
+Makefile
+Makefile.in
+examples/amqp_bind
+examples/amqp_connect_timeout
+examples/amqp_consumer
+examples/amqp_exchange_declare
+examples/amqp_listen
+examples/amqp_listenq
+examples/amqp_producer
+examples/amqp_rpc_sendstring_client
+examples/amqp_sendstring
+examples/amqp_unbind
+examples/amqps_bind
+examples/amqps_connect_timeout
+examples/amqps_consumer
+examples/amqps_exchange_declare
+examples/amqps_listen
+examples/amqps_listenq
+examples/amqps_producer
+examples/amqps_sendstring
+examples/amqps_unbind
+librabbitmq.pc
+test-driver
+tests/*.log
+tests/*.trs
+tests/test_hostcheck
+tests/test_parse_url
+tests/test_status_enum
+tests/test_tables
+tools/amqp-consume
+tools/amqp-declare-queue
+tools/amqp-delete-queue
+tools/amqp-get
+tools/amqp-publish
+tools/doc/*.1
+tools/doc/*.7
+tools/doc/man-date.ent
+.ycm_extra_conf.py?
+.DS_Store
+
+# Ignore editor swap files
+*~
+*.sw?
+.#*
+\#*#
diff --git a/librab/build/.gitmodules b/librab/build/.gitmodules
new file mode 100644
index 0000000..b7f37f7
--- /dev/null
+++ b/librab/build/.gitmodules
@@ -0,0 +1,6 @@
+[submodule "codegen"]
+ path = codegen
+ url = https://github.com/rabbitmq/rabbitmq-codegen.git
+[submodule "travis/run-clang-format"]
+ path = travis/run-clang-format
+ url = https://github.com/Sarcasm/run-clang-format.git
diff --git a/librab/build/.travis.yml b/librab/build/.travis.yml
new file mode 100644
index 0000000..5d26e0f
--- /dev/null
+++ b/librab/build/.travis.yml
@@ -0,0 +1,92 @@
+# Travis-CI Build for rabbitmq-c
+# see travis-ci.org for details
+
+language: c
+
+dist: trusty
+# Currently libpopt-dev is not on the list of whitelisted apt-packages.
+sudo: true
+
+env:
+ global:
+ # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
+ # via the "travis encrypt" command using the project repo's public key
+ - secure: "gDwqo3jHj+HHGzFKnxL/nwZhbVeh2pItw0TbeaHcLtWubUZaf85ViEQRaXPyfnbG7l0OEQq+PjyhKAfvViVq2NP0lGeeu4VM5uMZJhsCLN594BJr39Y4XzOapg0O8mEMhQ0DU2u1Zo4LMgEcRz67aosVQOj6QV30tOzp9fnxn9U="
+
+services:
+ - rabbitmq
+
+matrix:
+ include:
+ # Note that the first compiler in the matrix must be gcc, so that the
+ # coverity_scan branch hack below works correctly.
+ - compiler: gcc
+ os: linux
+ env: CONFIG=cmake
+ - compiler: gcc
+ os: linux
+ env: CONFIG=format
+ - compiler: gcc
+ os: linux
+ env: CONFIG=coverage
+ - compiler: clang
+ os: linux
+ env: CONFIG=cmake
+ - compiler: clang
+ os: linux
+ env: CONFIG=asan
+ - compiler: clang
+ os: linux
+ env: CONFIG=tsan
+ - compiler: clang
+ os: linux
+ env: CONFIG=scan-build
+ - compiler: clang
+ os: osx
+ env: CONFIG=cmake
+ - compiler: gcc
+ os: linux
+ env: NAME="openssl-1.1.0" CONFIG=cmake
+ addons:
+ apt:
+ sources:
+ - sourceline: 'ppa:ondrej/nginx-mainline'
+ packages:
+ - libssl1.1
+ - openssl
+ - libssl-dev
+
+ allow_failures:
+ - compiler: clang
+ os: linux
+ env: CONFIG=tsan
+
+before_install:
+ - |
+ if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
+ wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
+ sudo apt-add-repository "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.9 main"
+ sudo apt-get -q update;
+ sudo apt-get install -y clang-3.9 clang-format-3.9 libpopt-dev;
+ fi
+ # ugly hack; if running a coverity scan abort all except the 1st build
+ # see note re gcc compiler above needing to be 1st
+ # also note that branch_pattern & the TRAVIS_BRANCH check must match
+ # unfortunately COVERITY_SCAN_BRANCH isn't defined until later in the
+ # build process
+ - if ([[ "${TRAVIS_JOB_NUMBER##*.}" != "1" ]] && [[ "${TRAVIS_BRANCH}" == "coverity_scan" ]]); then false ; fi
+
+
+script:
+ # Don't bother building if this is being done in the coverity_scan branch.
+ - if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then ./travis.sh $CONFIG ; fi
+
+addons:
+ coverity_scan:
+ project:
+ name: "alanxz/rabbitmq-c"
+ description: "C AMQP client for RabbitMQ"
+ notification_email: alan.antonuk@gmail.com
+ build_command_prepend: mkdir build && pushd build && cmake .. && popd
+ build_command: cmake --build ./build
+ branch_pattern: coverity_scan
diff --git a/librab/build/.ycm_extra_conf.py b/librab/build/.ycm_extra_conf.py
new file mode 100644
index 0000000..d9ef11c
--- /dev/null
+++ b/librab/build/.ycm_extra_conf.py
@@ -0,0 +1,157 @@
+# This file is NOT licensed under the GPLv3, which is the license for the rest
+# of YouCompleteMe.
+#
+# Here's the license text for this file:
+#
+# This is free and unencumbered software released into the public domain.
+#
+# Anyone is free to copy, modify, publish, use, compile, sell, or
+# distribute this software, either in source code form or as a compiled
+# binary, for any purpose, commercial or non-commercial, and by any
+# means.
+#
+# In jurisdictions that recognize copyright laws, the author or authors
+# of this software dedicate any and all copyright interest in the
+# software to the public domain. We make this dedication for the benefit
+# of the public at large and to the detriment of our heirs and
+# successors. We intend this dedication to be an overt act of
+# relinquishment in perpetuity of all present and future rights to this
+# software under copyright law.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+# IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+# OTHER DEALINGS IN THE SOFTWARE.
+#
+# For more information, please refer to
+
+import os
+import ycm_core
+
+# These are the compilation flags that will be used in case there's no
+# compilation database set (by default, one is not set).
+# CHANGE THIS LIST OF FLAGS. YES, THIS IS THE DROID YOU HAVE BEEN LOOKING FOR.
+flags = [
+'-Wall',
+'-Wextra',
+# THIS IS IMPORTANT! Without a "-std=" flag, clang won't know which
+# language to use when compiling headers. So it will guess. Badly. So C++
+# headers will be compiled as C headers. You don't want that so ALWAYS specify
+# a "-std=".
+# For a C project, you would set this to something like 'c99' instead of
+# 'c++11'.
+'-std=gnu90',
+# ...and the same thing goes for the magic -x option which specifies the
+# language that the files to be compiled are written in. This is mostly
+# relevant for c++ headers.
+# For a C project, you would set this to 'c' instead of 'c++'.
+'-x',
+'c',
+'-I', './librabbitmq',
+'-I', './librabbitmq/unix',
+'-D', 'HAVE_POLL',
+]
+
+
+# Set this to the absolute path to the folder (NOT the file!) containing the
+# compile_commands.json file to use that instead of 'flags'. See here for
+# more details: http://clang.llvm.org/docs/JSONCompilationDatabase.html
+#
+# You can get CMake to generate this file for you by adding:
+# set( CMAKE_EXPORT_COMPILE_COMMANDS 1 )
+# to your CMakeLists.txt file.
+#
+# Most projects will NOT need to set this to anything; you can just change the
+# 'flags' list of compilation flags. Notice that YCM itself uses that approach.
+compilation_database_folder = ''
+
+if os.path.exists( compilation_database_folder ):
+ database = ycm_core.CompilationDatabase( compilation_database_folder )
+else:
+ database = None
+
+SOURCE_EXTENSIONS = [ '.cpp', '.cxx', '.cc', '.c', '.m', '.mm' ]
+
+def DirectoryOfThisScript():
+ return os.path.dirname( os.path.abspath( __file__ ) )
+
+
+def MakeRelativePathsInFlagsAbsolute( flags, working_directory ):
+ if not working_directory:
+ return list( flags )
+ new_flags = []
+ make_next_absolute = False
+ path_flags = [ '-isystem', '-I', '-iquote', '--sysroot=' ]
+ for flag in flags:
+ new_flag = flag
+
+ if make_next_absolute:
+ make_next_absolute = False
+ if not flag.startswith( '/' ):
+ new_flag = os.path.join( working_directory, flag )
+
+ for path_flag in path_flags:
+ if flag == path_flag:
+ make_next_absolute = True
+ break
+
+ if flag.startswith( path_flag ):
+ path = flag[ len( path_flag ): ]
+ new_flag = path_flag + os.path.join( working_directory, path )
+ break
+
+ if new_flag:
+ new_flags.append( new_flag )
+ return new_flags
+
+
+def IsHeaderFile( filename ):
+ extension = os.path.splitext( filename )[ 1 ]
+ return extension in [ '.h', '.hxx', '.hpp', '.hh' ]
+
+
+def GetCompilationInfoForFile( filename ):
+ # The compilation_commands.json file generated by CMake does not have entries
+ # for header files. So we do our best by asking the db for flags for a
+ # corresponding source file, if any. If one exists, the flags for that file
+ # should be good enough.
+ if IsHeaderFile( filename ):
+ basename = os.path.splitext( filename )[ 0 ]
+ for extension in SOURCE_EXTENSIONS:
+ replacement_file = basename + extension
+ if os.path.exists( replacement_file ):
+ compilation_info = database.GetCompilationInfoForFile(
+ replacement_file )
+ if compilation_info.compiler_flags_:
+ return compilation_info
+ return None
+ return database.GetCompilationInfoForFile( filename )
+
+
+def FlagsForFile( filename, **kwargs ):
+ if database:
+ # Bear in mind that compilation_info.compiler_flags_ does NOT return a
+ # python list, but a "list-like" StringVec object
+ compilation_info = GetCompilationInfoForFile( filename )
+ if not compilation_info:
+ relative_to = DirectoryOfThisScript()
+ return {
+ 'flags': MakeRelativePathsInFlagsAbsolute( flags, relative_to ),
+ 'do_cache': True
+ }
+
+ final_flags = MakeRelativePathsInFlagsAbsolute(
+ compilation_info.compiler_flags_,
+ compilation_info.compiler_working_dir_ )
+
+ else:
+ relative_to = DirectoryOfThisScript()
+ final_flags = MakeRelativePathsInFlagsAbsolute( flags, relative_to )
+
+ return {
+ 'flags': final_flags,
+ 'do_cache': True
+ }
diff --git a/librab/build/AUTHORS b/librab/build/AUTHORS
new file mode 100644
index 0000000..bd0070c
--- /dev/null
+++ b/librab/build/AUTHORS
@@ -0,0 +1,2 @@
+Tony Garnock-Jones
+The RabbitMQ team
diff --git a/librab/build/CMakeCache.txt b/librab/build/CMakeCache.txt
new file mode 100644
index 0000000..797b1c3
--- /dev/null
+++ b/librab/build/CMakeCache.txt
@@ -0,0 +1,535 @@
+# This is the CMakeCache file.
+# For build in directory: /home2/tcs/librab/build
+# It was generated by CMake: /usr/bin/cmake
+# You can edit this file to change values found and used by cmake.
+# If you do not want to change any of the values, simply exit the editor.
+# If you do want to change a value, simply edit, save, and exit the editor.
+# The syntax for the file is as follows:
+# KEY:TYPE=VALUE
+# KEY is the name of a variable in the cache.
+# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
+# VALUE is the current value for the KEY.
+
+########################
+# EXTERNAL cache entries
+########################
+
+//Build Doxygen API docs
+BUILD_API_DOCS:BOOL=OFF
+
+//Build Examples
+BUILD_EXAMPLES:BOOL=ON
+
+//Build rabbitmq-c as a shared library
+BUILD_SHARED_LIBS:BOOL=ON
+
+//Build rabbitmq-c as a static library
+BUILD_STATIC_LIBS:BOOL=ON
+
+//Build tests (run tests with make test)
+BUILD_TESTS:BOOL=ON
+
+//Build Tools (requires POPT Library)
+BUILD_TOOLS:BOOL=OFF
+
+//Build man pages for Tools (requires xmlto)
+BUILD_TOOLS_DOCS:BOOL=OFF
+
+//Path to a program.
+CMAKE_AR:FILEPATH=/bin/ar
+
+//Choose the type of build, options are: Debug Release RelWithDebInfo
+// MinSizeRel.
+CMAKE_BUILD_TYPE:STRING=Release
+
+//Enable/Disable color output during build.
+CMAKE_COLOR_MAKEFILE:BOOL=ON
+
+//C compiler.
+CMAKE_C_COMPILER:FILEPATH=/bin/cc
+
+//Flags used by the compiler during all build types.
+CMAKE_C_FLAGS:STRING=
+
+//Flags used by the compiler during debug builds.
+CMAKE_C_FLAGS_DEBUG:STRING=-g
+
+//Flags used by the compiler during release minsize builds.
+CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
+
+//Flags used by the compiler during release builds (/MD /Ob1 /Oi
+// /Ot /Oy /Gs will produce slightly less optimized but smaller
+// files).
+CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
+
+//Flags used by the compiler during Release with Debug Info builds.
+CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
+
+//Flags used by the linker.
+CMAKE_EXE_LINKER_FLAGS:STRING=' '
+
+//Flags used by the linker during debug builds.
+CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
+
+//Flags used by the linker during release minsize builds.
+CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
+
+//Flags used by the linker during release builds.
+CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
+
+//Flags used by the linker during Release with Debug Info builds.
+CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
+
+//Enable/Disable output of compile commands during generation.
+CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
+
+//user executables (bin)
+CMAKE_INSTALL_BINDIR:PATH=bin
+
+//read-only architecture-independent data (DATAROOTDIR)
+CMAKE_INSTALL_DATADIR:PATH=
+
+//read-only architecture-independent data root (share)
+CMAKE_INSTALL_DATAROOTDIR:PATH=share
+
+//documentation root (DATAROOTDIR/doc/PROJECT_NAME)
+CMAKE_INSTALL_DOCDIR:PATH=
+
+//C header files (include)
+CMAKE_INSTALL_INCLUDEDIR:PATH=include
+
+//info documentation (DATAROOTDIR/info)
+CMAKE_INSTALL_INFODIR:PATH=
+
+//object code libraries (lib64)
+CMAKE_INSTALL_LIBDIR:PATH=lib64
+
+//program executables (libexec)
+CMAKE_INSTALL_LIBEXECDIR:PATH=libexec
+
+//locale-dependent data (DATAROOTDIR/locale)
+CMAKE_INSTALL_LOCALEDIR:PATH=
+
+//modifiable single-machine data (var)
+CMAKE_INSTALL_LOCALSTATEDIR:PATH=var
+
+//man documentation (DATAROOTDIR/man)
+CMAKE_INSTALL_MANDIR:PATH=
+
+//C header files for non-gcc (/usr/include)
+CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include
+
+//Install path prefix, prepended onto install directories.
+CMAKE_INSTALL_PREFIX:PATH=/usr
+
+//system admin executables (sbin)
+CMAKE_INSTALL_SBINDIR:PATH=sbin
+
+//modifiable architecture-independent data (com)
+CMAKE_INSTALL_SHAREDSTATEDIR:PATH=com
+
+//read-only single-machine data (etc)
+CMAKE_INSTALL_SYSCONFDIR:PATH=etc
+
+//Path to a program.
+CMAKE_LINKER:FILEPATH=/bin/ld
+
+//Path to a program.
+CMAKE_MAKE_PROGRAM:FILEPATH=/bin/gmake
+
+//Flags used by the linker during the creation of modules.
+CMAKE_MODULE_LINKER_FLAGS:STRING=' '
+
+//Flags used by the linker during debug builds.
+CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
+
+//Flags used by the linker during release minsize builds.
+CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
+
+//Flags used by the linker during release builds.
+CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
+
+//Flags used by the linker during Release with Debug Info builds.
+CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
+
+//Path to a program.
+CMAKE_NM:FILEPATH=/bin/nm
+
+//Path to a program.
+CMAKE_OBJCOPY:FILEPATH=/bin/objcopy
+
+//Path to a program.
+CMAKE_OBJDUMP:FILEPATH=/bin/objdump
+
+//Value Computed by CMake
+CMAKE_PROJECT_NAME:STATIC=rabbitmq-c
+
+//Path to a program.
+CMAKE_RANLIB:FILEPATH=/bin/ranlib
+
+//Flags used by the linker during the creation of dll's.
+CMAKE_SHARED_LINKER_FLAGS:STRING=' '
+
+//Flags used by the linker during debug builds.
+CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
+
+//Flags used by the linker during release minsize builds.
+CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
+
+//Flags used by the linker during release builds.
+CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
+
+//Flags used by the linker during Release with Debug Info builds.
+CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
+
+//If set, runtime paths are not added when installing shared libraries,
+// but are added when building.
+CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
+
+//If set, runtime paths are not added when using shared libraries.
+CMAKE_SKIP_RPATH:BOOL=NO
+
+//Flags used by the linker during the creation of static libraries.
+CMAKE_STATIC_LINKER_FLAGS:STRING=
+
+//Flags used by the linker during debug builds.
+CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
+
+//Flags used by the linker during release minsize builds.
+CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
+
+//Flags used by the linker during release builds.
+CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
+
+//Flags used by the linker during Release with Debug Info builds.
+CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
+
+//Path to a program.
+CMAKE_STRIP:FILEPATH=/bin/strip
+
+//If true, cmake will use relative paths in makefiles and projects.
+CMAKE_USE_RELATIVE_PATHS:BOOL=OFF
+
+//If this value is on, makefiles will be generated without the
+// .SILENT directive, and all commands will be echoed to the console
+// during the make. This is useful for debugging only. With Visual
+// Studio IDE projects all commands are done without /nologo.
+CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
+
+//Graphviz Dot tool for using Doxygen
+DOXYGEN_DOT_EXECUTABLE:FILEPATH=/bin/dot
+
+DOXYGEN_DOT_PATH:FILEPATH=/bin
+
+//Doxygen documentation generation tool (http://www.doxygen.org)
+DOXYGEN_EXECUTABLE:FILEPATH=DOXYGEN_EXECUTABLE-NOTFOUND
+
+//Enable SSL support
+ENABLE_SSL_SUPPORT:BOOL=ON
+
+//Path to a library.
+OPENSSL_CRYPTO_LIBRARY:FILEPATH=/usr/lib64/libcrypto.so
+
+//Path to a file.
+OPENSSL_INCLUDE_DIR:PATH=/usr/include
+
+//Path to a library.
+OPENSSL_SSL_LIBRARY:FILEPATH=/usr/lib64/libssl.so
+
+//pkg-config executable
+PKG_CONFIG_EXECUTABLE:FILEPATH=/bin/pkg-config
+
+//Path containing the popt.h include file
+POPT_INCLUDE_DIR:PATH=POPT_INCLUDE_DIR-NOTFOUND
+
+//popt library path
+POPT_LIBRARY:FILEPATH=POPT_LIBRARY-NOTFOUND
+
+//Regenerate amqp_framing.h/amqp_framing.c sources (for developer
+// use)
+REGENERATE_AMQP_FRAMING:BOOL=OFF
+
+//path to the xmlto docbook xslt frontend
+XMLTO_EXECUTABLE:FILEPATH=XMLTO_EXECUTABLE-NOTFOUND
+
+//Value Computed by CMake
+librabbitmq_BINARY_DIR:STATIC=/home2/tcs/librab/build/librabbitmq
+
+//Value Computed by CMake
+librabbitmq_SOURCE_DIR:STATIC=/home2/tcs/librab/build/librabbitmq
+
+//Value Computed by CMake
+rabbitmq-c_BINARY_DIR:STATIC=/home2/tcs/librab/build
+
+//Value Computed by CMake
+rabbitmq-c_SOURCE_DIR:STATIC=/home2/tcs/librab/build
+
+//Dependencies for the target
+rabbitmq-static_LIB_DEPENDS:STATIC=general;/usr/lib64/libssl.so;general;/usr/lib64/libcrypto.so;general;rt;general;-lpthread;
+
+//Dependencies for the target
+rabbitmq_LIB_DEPENDS:STATIC=general;/usr/lib64/libssl.so;general;/usr/lib64/libcrypto.so;general;rt;general;-lpthread;
+
+
+########################
+# INTERNAL cache entries
+########################
+
+//Have library rt
+CLOCK_GETTIME_NEEDS_LIBRT:INTERNAL=1
+//ADVANCED property for variable: CMAKE_AR
+CMAKE_AR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_BUILD_TOOL
+CMAKE_BUILD_TOOL-ADVANCED:INTERNAL=1
+//What is the target build tool cmake is generating for.
+CMAKE_BUILD_TOOL:INTERNAL=/bin/gmake
+//This is the directory where this CMakeCache.txt was created
+CMAKE_CACHEFILE_DIR:INTERNAL=/home2/tcs/librab/build
+//Major version of cmake used to create the current loaded cache
+CMAKE_CACHE_MAJOR_VERSION:INTERNAL=2
+//Minor version of cmake used to create the current loaded cache
+CMAKE_CACHE_MINOR_VERSION:INTERNAL=8
+//Patch version of cmake used to create the current loaded cache
+CMAKE_CACHE_PATCH_VERSION:INTERNAL=12
+//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
+CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
+//Path to CMake executable.
+CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
+//Path to cpack program executable.
+CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
+//Path to ctest program executable.
+CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
+//ADVANCED property for variable: CMAKE_C_COMPILER
+CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_FLAGS
+CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
+CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
+CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
+CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
+CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//Path to cache edit program executable.
+CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/ccmake
+//Executable file format
+CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
+//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
+CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
+CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
+CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
+CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
+CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
+CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
+//Name of generator.
+CMAKE_GENERATOR:INTERNAL=Unix Makefiles
+//Name of generator toolset.
+CMAKE_GENERATOR_TOOLSET:INTERNAL=
+//Have symbol pthread_create
+CMAKE_HAVE_LIBC_CREATE:INTERNAL=
+//Have library pthreads
+CMAKE_HAVE_PTHREADS_CREATE:INTERNAL=
+//Have library pthread
+CMAKE_HAVE_PTHREAD_CREATE:INTERNAL=1
+//Have include pthread.h
+CMAKE_HAVE_PTHREAD_H:INTERNAL=1
+//Start directory with the top level CMakeLists.txt file for this
+// project
+CMAKE_HOME_DIRECTORY:INTERNAL=/home2/tcs/librab/build
+//ADVANCED property for variable: CMAKE_INSTALL_BINDIR
+CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_INSTALL_DATADIR
+CMAKE_INSTALL_DATADIR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_INSTALL_DATAROOTDIR
+CMAKE_INSTALL_DATAROOTDIR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_INSTALL_DOCDIR
+CMAKE_INSTALL_DOCDIR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_INSTALL_INCLUDEDIR
+CMAKE_INSTALL_INCLUDEDIR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_INSTALL_INFODIR
+CMAKE_INSTALL_INFODIR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_INSTALL_LIBDIR
+CMAKE_INSTALL_LIBDIR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_INSTALL_LIBEXECDIR
+CMAKE_INSTALL_LIBEXECDIR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_INSTALL_LOCALEDIR
+CMAKE_INSTALL_LOCALEDIR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_INSTALL_LOCALSTATEDIR
+CMAKE_INSTALL_LOCALSTATEDIR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_INSTALL_MANDIR
+CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_INSTALL_OLDINCLUDEDIR
+CMAKE_INSTALL_OLDINCLUDEDIR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_INSTALL_SBINDIR
+CMAKE_INSTALL_SBINDIR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_INSTALL_SHAREDSTATEDIR
+CMAKE_INSTALL_SHAREDSTATEDIR-ADVANCED:INTERNAL=1
+//Install .so files without execute permission.
+CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0
+//ADVANCED property for variable: CMAKE_INSTALL_SYSCONFDIR
+CMAKE_INSTALL_SYSCONFDIR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_LINKER
+CMAKE_LINKER-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
+CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
+CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
+CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
+CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
+CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
+CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_NM
+CMAKE_NM-ADVANCED:INTERNAL=1
+//number of local generators
+CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=4
+//ADVANCED property for variable: CMAKE_OBJCOPY
+CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_OBJDUMP
+CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_RANLIB
+CMAKE_RANLIB-ADVANCED:INTERNAL=1
+//Path to CMake installation.
+CMAKE_ROOT:INTERNAL=/usr/share/cmake
+//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
+CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
+CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
+CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
+CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
+CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
+CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SKIP_RPATH
+CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
+CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
+CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
+CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
+CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
+CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_STRIP
+CMAKE_STRIP-ADVANCED:INTERNAL=1
+//uname command
+CMAKE_UNAME:INTERNAL=/bin/uname
+//ADVANCED property for variable: CMAKE_USE_RELATIVE_PATHS
+CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
+CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
+//Result of TRY_COMPILE
+C_HAS_inline:INTERNAL=TRUE
+//The keyword needed by the C compiler to inline a function
+C_INLINE_KEYWORD:INTERNAL=inline
+//ADVANCED property for variable: DOXYGEN_DOT_EXECUTABLE
+DOXYGEN_DOT_EXECUTABLE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: DOXYGEN_DOT_PATH
+DOXYGEN_DOT_PATH-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: DOXYGEN_EXECUTABLE
+DOXYGEN_EXECUTABLE-ADVANCED:INTERNAL=1
+//Details about finding OpenSSL
+FIND_PACKAGE_MESSAGE_DETAILS_OpenSSL:INTERNAL=[/usr/lib64/libssl.so;/usr/lib64/libcrypto.so][/usr/include][v1.0.2k(0.9.8)]
+//Details about finding Threads
+FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
+//Have symbol getaddrinfo
+HAVE_GETADDRINFO:INTERNAL=1
+//Test HAVE_GNU90
+HAVE_GNU90:INTERNAL=1
+//Have symbol poll
+HAVE_POLL:INTERNAL=1
+//Have symbol socket
+HAVE_SOCKET:INTERNAL=1
+//ADVANCED property for variable: OPENSSL_CRYPTO_LIBRARY
+OPENSSL_CRYPTO_LIBRARY-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: OPENSSL_INCLUDE_DIR
+OPENSSL_INCLUDE_DIR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: OPENSSL_SSL_LIBRARY
+OPENSSL_SSL_LIBRARY-ADVANCED:INTERNAL=1
+PC_POPT_CFLAGS:INTERNAL=
+PC_POPT_CFLAGS_I:INTERNAL=
+PC_POPT_CFLAGS_OTHER:INTERNAL=
+PC_POPT_FOUND:INTERNAL=
+PC_POPT_INCLUDEDIR:INTERNAL=
+PC_POPT_LIBDIR:INTERNAL=
+PC_POPT_LIBS:INTERNAL=
+PC_POPT_LIBS_L:INTERNAL=
+PC_POPT_LIBS_OTHER:INTERNAL=
+PC_POPT_LIBS_PATHS:INTERNAL=
+PC_POPT_PREFIX:INTERNAL=
+PC_POPT_STATIC_CFLAGS:INTERNAL=
+PC_POPT_STATIC_CFLAGS_I:INTERNAL=
+PC_POPT_STATIC_CFLAGS_OTHER:INTERNAL=
+PC_POPT_STATIC_LIBDIR:INTERNAL=
+PC_POPT_STATIC_LIBS:INTERNAL=
+PC_POPT_STATIC_LIBS_L:INTERNAL=
+PC_POPT_STATIC_LIBS_OTHER:INTERNAL=
+PC_POPT_STATIC_LIBS_PATHS:INTERNAL=
+PC_POPT_VERSION:INTERNAL=
+PC_POPT_popt_INCLUDEDIR:INTERNAL=
+PC_POPT_popt_LIBDIR:INTERNAL=
+PC_POPT_popt_PREFIX:INTERNAL=
+PC_POPT_popt_VERSION:INTERNAL=
+//ADVANCED property for variable: PKG_CONFIG_EXECUTABLE
+PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: POPT_INCLUDE_DIR
+POPT_INCLUDE_DIR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: POPT_LIBRARY
+POPT_LIBRARY-ADVANCED:INTERNAL=1
+//Have library rt
+POSIX_SPAWNP_NEEDS_LIBRT:INTERNAL=1
+//ADVANCED property for variable: REGENERATE_AMQP_FRAMING
+REGENERATE_AMQP_FRAMING-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: XMLTO_EXECUTABLE
+XMLTO_EXECUTABLE-ADVANCED:INTERNAL=1
+_OPENSSL_CFLAGS:INTERNAL=
+_OPENSSL_CFLAGS_I:INTERNAL=
+_OPENSSL_CFLAGS_OTHER:INTERNAL=
+_OPENSSL_FOUND:INTERNAL=1
+_OPENSSL_INCLUDEDIR:INTERNAL=/usr/include
+_OPENSSL_INCLUDE_DIRS:INTERNAL=
+_OPENSSL_LDFLAGS:INTERNAL=-lssl;-lcrypto
+_OPENSSL_LDFLAGS_OTHER:INTERNAL=
+_OPENSSL_LIBDIR:INTERNAL=/usr/lib64
+_OPENSSL_LIBRARIES:INTERNAL=ssl;crypto
+_OPENSSL_LIBRARY_DIRS:INTERNAL=
+_OPENSSL_LIBS:INTERNAL=
+_OPENSSL_LIBS_L:INTERNAL=
+_OPENSSL_LIBS_OTHER:INTERNAL=
+_OPENSSL_LIBS_PATHS:INTERNAL=
+_OPENSSL_PREFIX:INTERNAL=/usr
+_OPENSSL_STATIC_CFLAGS:INTERNAL=
+_OPENSSL_STATIC_CFLAGS_I:INTERNAL=
+_OPENSSL_STATIC_CFLAGS_OTHER:INTERNAL=
+_OPENSSL_STATIC_INCLUDE_DIRS:INTERNAL=
+_OPENSSL_STATIC_LDFLAGS:INTERNAL=-lssl;-lgssapi_krb5;-lkrb5;-lcom_err;-lk5crypto;-lcrypto;-ldl;-lz
+_OPENSSL_STATIC_LDFLAGS_OTHER:INTERNAL=
+_OPENSSL_STATIC_LIBDIR:INTERNAL=
+_OPENSSL_STATIC_LIBRARIES:INTERNAL=ssl;gssapi_krb5;krb5;com_err;k5crypto;crypto;dl;z
+_OPENSSL_STATIC_LIBRARY_DIRS:INTERNAL=
+_OPENSSL_STATIC_LIBS:INTERNAL=
+_OPENSSL_STATIC_LIBS_L:INTERNAL=
+_OPENSSL_STATIC_LIBS_OTHER:INTERNAL=
+_OPENSSL_STATIC_LIBS_PATHS:INTERNAL=
+_OPENSSL_VERSION:INTERNAL=1.0.2k
+_OPENSSL_openssl_INCLUDEDIR:INTERNAL=
+_OPENSSL_openssl_LIBDIR:INTERNAL=
+_OPENSSL_openssl_PREFIX:INTERNAL=
+_OPENSSL_openssl_VERSION:INTERNAL=
+__pkg_config_checked_PC_POPT:INTERNAL=1
+__pkg_config_checked__OPENSSL:INTERNAL=1
+
diff --git a/librab/build/CMakeFiles/2.8.12.2/CMakeCCompiler.cmake b/librab/build/CMakeFiles/2.8.12.2/CMakeCCompiler.cmake
new file mode 100644
index 0000000..a88e9b8
--- /dev/null
+++ b/librab/build/CMakeFiles/2.8.12.2/CMakeCCompiler.cmake
@@ -0,0 +1,56 @@
+set(CMAKE_C_COMPILER "/bin/cc")
+set(CMAKE_C_COMPILER_ARG1 "")
+set(CMAKE_C_COMPILER_ID "GNU")
+set(CMAKE_C_COMPILER_VERSION "4.8.5")
+set(CMAKE_C_PLATFORM_ID "Linux")
+
+set(CMAKE_AR "/bin/ar")
+set(CMAKE_RANLIB "/bin/ranlib")
+set(CMAKE_LINKER "/bin/ld")
+set(CMAKE_COMPILER_IS_GNUCC 1)
+set(CMAKE_C_COMPILER_LOADED 1)
+set(CMAKE_C_COMPILER_WORKS TRUE)
+set(CMAKE_C_ABI_COMPILED TRUE)
+set(CMAKE_COMPILER_IS_MINGW )
+set(CMAKE_COMPILER_IS_CYGWIN )
+if(CMAKE_COMPILER_IS_CYGWIN)
+ set(CYGWIN 1)
+ set(UNIX 1)
+endif()
+
+set(CMAKE_C_COMPILER_ENV_VAR "CC")
+
+if(CMAKE_COMPILER_IS_MINGW)
+ set(MINGW 1)
+endif()
+set(CMAKE_C_COMPILER_ID_RUN 1)
+set(CMAKE_C_SOURCE_FILE_EXTENSIONS c)
+set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
+set(CMAKE_C_LINKER_PREFERENCE 10)
+
+# Save compiler ABI information.
+set(CMAKE_C_SIZEOF_DATA_PTR "8")
+set(CMAKE_C_COMPILER_ABI "ELF")
+set(CMAKE_C_LIBRARY_ARCHITECTURE "")
+
+if(CMAKE_C_SIZEOF_DATA_PTR)
+ set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
+endif()
+
+if(CMAKE_C_COMPILER_ABI)
+ set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
+endif()
+
+if(CMAKE_C_LIBRARY_ARCHITECTURE)
+ set(CMAKE_LIBRARY_ARCHITECTURE "")
+endif()
+
+
+
+
+set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "c")
+set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-redhat-linux/4.8.5;/usr/lib64;/lib64;/usr/lib")
+set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
+
+
+
diff --git a/librab/build/CMakeFiles/2.8.12.2/CMakeDetermineCompilerABI_C.bin b/librab/build/CMakeFiles/2.8.12.2/CMakeDetermineCompilerABI_C.bin
new file mode 100644
index 0000000..2af9a35
Binary files /dev/null and b/librab/build/CMakeFiles/2.8.12.2/CMakeDetermineCompilerABI_C.bin differ
diff --git a/librab/build/CMakeFiles/2.8.12.2/CMakeSystem.cmake b/librab/build/CMakeFiles/2.8.12.2/CMakeSystem.cmake
new file mode 100644
index 0000000..cbcb8ff
--- /dev/null
+++ b/librab/build/CMakeFiles/2.8.12.2/CMakeSystem.cmake
@@ -0,0 +1,15 @@
+set(CMAKE_HOST_SYSTEM "Linux-3.10.0-957.el7.x86_64")
+set(CMAKE_HOST_SYSTEM_NAME "Linux")
+set(CMAKE_HOST_SYSTEM_VERSION "3.10.0-957.el7.x86_64")
+set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
+
+
+
+set(CMAKE_SYSTEM "Linux-3.10.0-957.el7.x86_64")
+set(CMAKE_SYSTEM_NAME "Linux")
+set(CMAKE_SYSTEM_VERSION "3.10.0-957.el7.x86_64")
+set(CMAKE_SYSTEM_PROCESSOR "x86_64")
+
+set(CMAKE_CROSSCOMPILING "FALSE")
+
+set(CMAKE_SYSTEM_LOADED 1)
diff --git a/librab/build/CMakeFiles/2.8.12.2/CompilerIdC/CMakeCCompilerId.c b/librab/build/CMakeFiles/2.8.12.2/CompilerIdC/CMakeCCompilerId.c
new file mode 100644
index 0000000..cba81d4
--- /dev/null
+++ b/librab/build/CMakeFiles/2.8.12.2/CompilerIdC/CMakeCCompilerId.c
@@ -0,0 +1,389 @@
+#ifdef __cplusplus
+# error "A C++ compiler has been selected for C."
+#endif
+
+/* Version number components: V=Version, R=Revision, P=Patch
+ Version date components: YYYY=Year, MM=Month, DD=Day */
+
+#if defined(__18CXX)
+# define ID_VOID_MAIN
+#endif
+
+#if defined(__INTEL_COMPILER) || defined(__ICC)
+# define COMPILER_ID "Intel"
+ /* __INTEL_COMPILER = VRP */
+# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
+# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
+# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
+# if defined(__INTEL_COMPILER_BUILD_DATE)
+ /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
+# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
+# endif
+
+#elif defined(__PATHCC__)
+# define COMPILER_ID "PathScale"
+# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
+# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
+# if defined(__PATHCC_PATCHLEVEL__)
+# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
+# endif
+
+#elif defined(__clang__)
+# define COMPILER_ID "Clang"
+# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
+# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
+# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
+
+#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
+# define COMPILER_ID "Embarcadero"
+# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
+# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
+# define COMPILER_VERSION_PATCH HEX(__CODEGEARC_VERSION__ & 0xFFFF)
+
+#elif defined(__BORLANDC__)
+# define COMPILER_ID "Borland"
+ /* __BORLANDC__ = 0xVRR */
+# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
+# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
+
+#elif defined(__WATCOMC__)
+# define COMPILER_ID "Watcom"
+ /* __WATCOMC__ = VVRR */
+# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
+# define COMPILER_VERSION_MINOR DEC(__WATCOMC__ % 100)
+
+#elif defined(__SUNPRO_C)
+# define COMPILER_ID "SunPro"
+# if __SUNPRO_C >= 0x5100
+ /* __SUNPRO_C = 0xVRRP */
+# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
+# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
+# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
+# else
+ /* __SUNPRO_C = 0xVRP */
+# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
+# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
+# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
+# endif
+
+#elif defined(__HP_cc)
+# define COMPILER_ID "HP"
+ /* __HP_cc = VVRRPP */
+# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
+# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
+# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
+
+#elif defined(__DECC)
+# define COMPILER_ID "Compaq"
+ /* __DECC_VER = VVRRTPPPP */
+# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
+# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
+# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
+
+#elif defined(__IBMC__)
+# if defined(__COMPILER_VER__)
+# define COMPILER_ID "zOS"
+# else
+# if __IBMC__ >= 800
+# define COMPILER_ID "XL"
+# else
+# define COMPILER_ID "VisualAge"
+# endif
+ /* __IBMC__ = VRP */
+# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
+# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
+# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
+# endif
+
+#elif defined(__PGI)
+# define COMPILER_ID "PGI"
+# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
+# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
+# if defined(__PGIC_PATCHLEVEL__)
+# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
+# endif
+
+#elif defined(_CRAYC)
+# define COMPILER_ID "Cray"
+# define COMPILER_VERSION_MAJOR DEC(_RELEASE)
+# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
+
+#elif defined(__TI_COMPILER_VERSION__)
+# define COMPILER_ID "TI"
+ /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
+# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
+# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
+# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
+
+#elif defined(__TINYC__)
+# define COMPILER_ID "TinyCC"
+
+#elif defined(__SCO_VERSION__)
+# define COMPILER_ID "SCO"
+
+#elif defined(__GNUC__)
+# define COMPILER_ID "GNU"
+# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
+# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
+# if defined(__GNUC_PATCHLEVEL__)
+# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
+# endif
+
+#elif defined(_MSC_VER)
+# define COMPILER_ID "MSVC"
+ /* _MSC_VER = VVRR */
+# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
+# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
+# if defined(_MSC_FULL_VER)
+# if _MSC_VER >= 1400
+ /* _MSC_FULL_VER = VVRRPPPPP */
+# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
+# else
+ /* _MSC_FULL_VER = VVRRPPPP */
+# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
+# endif
+# endif
+# if defined(_MSC_BUILD)
+# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
+# endif
+
+/* Analog VisualDSP++ >= 4.5.6 */
+#elif defined(__VISUALDSPVERSION__)
+# define COMPILER_ID "ADSP"
+ /* __VISUALDSPVERSION__ = 0xVVRRPP00 */
+# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
+# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
+# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
+
+/* Analog VisualDSP++ < 4.5.6 */
+#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
+# define COMPILER_ID "ADSP"
+
+/* IAR Systems compiler for embedded systems.
+ http://www.iar.com */
+#elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC)
+# define COMPILER_ID "IAR"
+
+/* sdcc, the small devices C compiler for embedded systems,
+ http://sdcc.sourceforge.net */
+#elif defined(SDCC)
+# define COMPILER_ID "SDCC"
+ /* SDCC = VRP */
+# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
+# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
+# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
+
+#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
+# define COMPILER_ID "MIPSpro"
+# if defined(_SGI_COMPILER_VERSION)
+ /* _SGI_COMPILER_VERSION = VRP */
+# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
+# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
+# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
+# else
+ /* _COMPILER_VERSION = VRP */
+# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
+# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
+# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
+# endif
+
+/* This compiler is either not known or is too old to define an
+ identification macro. Try to identify the platform and guess that
+ it is the native compiler. */
+#elif defined(__sgi)
+# define COMPILER_ID "MIPSpro"
+
+#elif defined(__hpux) || defined(__hpua)
+# define COMPILER_ID "HP"
+
+#else /* unknown compiler */
+# define COMPILER_ID ""
+
+#endif
+
+/* Construct the string literal in pieces to prevent the source from
+ getting matched. Store it in a pointer rather than an array
+ because some compilers will just produce instructions to fill the
+ array rather than assigning a pointer to a static array. */
+char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
+
+/* Identify known platforms by name. */
+#if defined(__linux) || defined(__linux__) || defined(linux)
+# define PLATFORM_ID "Linux"
+
+#elif defined(__CYGWIN__)
+# define PLATFORM_ID "Cygwin"
+
+#elif defined(__MINGW32__)
+# define PLATFORM_ID "MinGW"
+
+#elif defined(__APPLE__)
+# define PLATFORM_ID "Darwin"
+
+#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
+# define PLATFORM_ID "Windows"
+
+#elif defined(__FreeBSD__) || defined(__FreeBSD)
+# define PLATFORM_ID "FreeBSD"
+
+#elif defined(__NetBSD__) || defined(__NetBSD)
+# define PLATFORM_ID "NetBSD"
+
+#elif defined(__OpenBSD__) || defined(__OPENBSD)
+# define PLATFORM_ID "OpenBSD"
+
+#elif defined(__sun) || defined(sun)
+# define PLATFORM_ID "SunOS"
+
+#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
+# define PLATFORM_ID "AIX"
+
+#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
+# define PLATFORM_ID "IRIX"
+
+#elif defined(__hpux) || defined(__hpux__)
+# define PLATFORM_ID "HP-UX"
+
+#elif defined(__HAIKU__)
+# define PLATFORM_ID "Haiku"
+
+#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
+# define PLATFORM_ID "BeOS"
+
+#elif defined(__QNX__) || defined(__QNXNTO__)
+# define PLATFORM_ID "QNX"
+
+#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
+# define PLATFORM_ID "Tru64"
+
+#elif defined(__riscos) || defined(__riscos__)
+# define PLATFORM_ID "RISCos"
+
+#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
+# define PLATFORM_ID "SINIX"
+
+#elif defined(__UNIX_SV__)
+# define PLATFORM_ID "UNIX_SV"
+
+#elif defined(__bsdos__)
+# define PLATFORM_ID "BSDOS"
+
+#elif defined(_MPRAS) || defined(MPRAS)
+# define PLATFORM_ID "MP-RAS"
+
+#elif defined(__osf) || defined(__osf__)
+# define PLATFORM_ID "OSF1"
+
+#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
+# define PLATFORM_ID "SCO_SV"
+
+#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
+# define PLATFORM_ID "ULTRIX"
+
+#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
+# define PLATFORM_ID "Xenix"
+
+#else /* unknown platform */
+# define PLATFORM_ID ""
+
+#endif
+
+/* For windows compilers MSVC and Intel we can determine
+ the architecture of the compiler being used. This is because
+ the compilers do not have flags that can change the architecture,
+ but rather depend on which compiler is being used
+*/
+#if defined(_WIN32) && defined(_MSC_VER)
+# if defined(_M_IA64)
+# define ARCHITECTURE_ID "IA64"
+
+# elif defined(_M_X64) || defined(_M_AMD64)
+# define ARCHITECTURE_ID "x64"
+
+# elif defined(_M_IX86)
+# define ARCHITECTURE_ID "X86"
+
+# elif defined(_M_ARM)
+# define ARCHITECTURE_ID "ARM"
+
+# elif defined(_M_MIPS)
+# define ARCHITECTURE_ID "MIPS"
+
+# elif defined(_M_SH)
+# define ARCHITECTURE_ID "SHx"
+
+# else /* unknown architecture */
+# define ARCHITECTURE_ID ""
+# endif
+
+#else
+# define ARCHITECTURE_ID ""
+#endif
+
+/* Convert integer to decimal digit literals. */
+#define DEC(n) \
+ ('0' + (((n) / 10000000)%10)), \
+ ('0' + (((n) / 1000000)%10)), \
+ ('0' + (((n) / 100000)%10)), \
+ ('0' + (((n) / 10000)%10)), \
+ ('0' + (((n) / 1000)%10)), \
+ ('0' + (((n) / 100)%10)), \
+ ('0' + (((n) / 10)%10)), \
+ ('0' + ((n) % 10))
+
+/* Convert integer to hex digit literals. */
+#define HEX(n) \
+ ('0' + ((n)>>28 & 0xF)), \
+ ('0' + ((n)>>24 & 0xF)), \
+ ('0' + ((n)>>20 & 0xF)), \
+ ('0' + ((n)>>16 & 0xF)), \
+ ('0' + ((n)>>12 & 0xF)), \
+ ('0' + ((n)>>8 & 0xF)), \
+ ('0' + ((n)>>4 & 0xF)), \
+ ('0' + ((n) & 0xF))
+
+/* Construct a string literal encoding the version number components. */
+#ifdef COMPILER_VERSION_MAJOR
+char const info_version[] = {
+ 'I', 'N', 'F', 'O', ':',
+ 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
+ COMPILER_VERSION_MAJOR,
+# ifdef COMPILER_VERSION_MINOR
+ '.', COMPILER_VERSION_MINOR,
+# ifdef COMPILER_VERSION_PATCH
+ '.', COMPILER_VERSION_PATCH,
+# ifdef COMPILER_VERSION_TWEAK
+ '.', COMPILER_VERSION_TWEAK,
+# endif
+# endif
+# endif
+ ']','\0'};
+#endif
+
+/* Construct the string literal in pieces to prevent the source from
+ getting matched. Store it in a pointer rather than an array
+ because some compilers will just produce instructions to fill the
+ array rather than assigning a pointer to a static array. */
+char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
+char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
+
+
+
+/*--------------------------------------------------------------------------*/
+
+#ifdef ID_VOID_MAIN
+void main() {}
+#else
+int main(int argc, char* argv[])
+{
+ int require = 0;
+ require += info_compiler[argc];
+ require += info_platform[argc];
+ require += info_arch[argc];
+#ifdef COMPILER_VERSION_MAJOR
+ require += info_version[argc];
+#endif
+ (void)argv;
+ return require;
+}
+#endif
diff --git a/librab/build/CMakeFiles/2.8.12.2/CompilerIdC/a.out b/librab/build/CMakeFiles/2.8.12.2/CompilerIdC/a.out
new file mode 100644
index 0000000..85b2a0d
Binary files /dev/null and b/librab/build/CMakeFiles/2.8.12.2/CompilerIdC/a.out differ
diff --git a/librab/build/CMakeFiles/CMakeDirectoryInformation.cmake b/librab/build/CMakeFiles/CMakeDirectoryInformation.cmake
new file mode 100644
index 0000000..44e562e
--- /dev/null
+++ b/librab/build/CMakeFiles/CMakeDirectoryInformation.cmake
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# Relative path conversion top directories.
+SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home2/tcs/librab/build")
+SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home2/tcs/librab/build")
+
+# Force unix paths in dependencies.
+SET(CMAKE_FORCE_UNIX_PATHS 1)
+
+
+# The C and CXX include file regular expressions for this directory.
+SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
+SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
+SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
+SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
diff --git a/librab/build/CMakeFiles/CMakeError.log b/librab/build/CMakeFiles/CMakeError.log
new file mode 100644
index 0000000..7d4c121
--- /dev/null
+++ b/librab/build/CMakeFiles/CMakeError.log
@@ -0,0 +1,53 @@
+Determining if the pthread_create exist failed with the following output:
+Change Dir: /home2/tcs/librab/build/CMakeFiles/CMakeTmp
+
+Run Build Command:/bin/gmake "cmTryCompileExec3741421367/fast"
+/bin/gmake -f CMakeFiles/cmTryCompileExec3741421367.dir/build.make CMakeFiles/cmTryCompileExec3741421367.dir/build
+gmake[1]: Entering directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+/usr/bin/cmake -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CMakeFiles 1
+Building C object CMakeFiles/cmTryCompileExec3741421367.dir/CheckSymbolExists.c.o
+/bin/cc -o CMakeFiles/cmTryCompileExec3741421367.dir/CheckSymbolExists.c.o -c /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
+Linking C executable cmTryCompileExec3741421367
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3741421367.dir/link.txt --verbose=1
+/bin/cc CMakeFiles/cmTryCompileExec3741421367.dir/CheckSymbolExists.c.o -o cmTryCompileExec3741421367 -rdynamic
+CMakeFiles/cmTryCompileExec3741421367.dir/CheckSymbolExists.c.o: In function `main':
+CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create'
+collect2: error: ld returned 1 exit status
+gmake[1]: *** [cmTryCompileExec3741421367] 오류 1
+gmake[1]: Leaving directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+gmake: *** [cmTryCompileExec3741421367/fast] 오류 2
+
+File /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
+/* */
+#include
+
+int main(int argc, char** argv)
+{
+ (void)argv;
+#ifndef pthread_create
+ return ((int*)(&pthread_create))[argc];
+#else
+ (void)argc;
+ return 0;
+#endif
+}
+
+Determining if the function pthread_create exists in the pthreads failed with the following output:
+Change Dir: /home2/tcs/librab/build/CMakeFiles/CMakeTmp
+
+Run Build Command:/bin/gmake "cmTryCompileExec3288110602/fast"
+/bin/gmake -f CMakeFiles/cmTryCompileExec3288110602.dir/build.make CMakeFiles/cmTryCompileExec3288110602.dir/build
+gmake[1]: Entering directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+/usr/bin/cmake -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CMakeFiles 1
+Building C object CMakeFiles/cmTryCompileExec3288110602.dir/CheckFunctionExists.c.o
+/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec3288110602.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
+Linking C executable cmTryCompileExec3288110602
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3288110602.dir/link.txt --verbose=1
+/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec3288110602.dir/CheckFunctionExists.c.o -o cmTryCompileExec3288110602 -rdynamic -lpthreads
+/bin/ld: cannot find -lpthreads
+collect2: error: ld returned 1 exit status
+gmake[1]: Leaving directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+gmake[1]: *** [cmTryCompileExec3288110602] 오류 1
+gmake: *** [cmTryCompileExec3288110602/fast] 오류 2
+
+
diff --git a/librab/build/CMakeFiles/CMakeOutput.log b/librab/build/CMakeFiles/CMakeOutput.log
new file mode 100644
index 0000000..1f67ac1
--- /dev/null
+++ b/librab/build/CMakeFiles/CMakeOutput.log
@@ -0,0 +1,291 @@
+The system is: Linux - 3.10.0-957.el7.x86_64 - x86_64
+Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
+Compiler: /bin/cc
+Build flags:
+Id flags:
+
+The output was:
+0
+
+
+Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
+
+The C compiler identification is GNU, found in "/home2/tcs/librab/build/CMakeFiles/2.8.12.2/CompilerIdC/a.out"
+
+Determining if the C compiler works passed with the following output:
+Change Dir: /home2/tcs/librab/build/CMakeFiles/CMakeTmp
+
+Run Build Command:/bin/gmake "cmTryCompileExec807595616/fast"
+/bin/gmake -f CMakeFiles/cmTryCompileExec807595616.dir/build.make CMakeFiles/cmTryCompileExec807595616.dir/build
+gmake[1]: Entering directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+/usr/bin/cmake -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CMakeFiles 1
+Building C object CMakeFiles/cmTryCompileExec807595616.dir/testCCompiler.c.o
+/bin/cc -o CMakeFiles/cmTryCompileExec807595616.dir/testCCompiler.c.o -c /home2/tcs/librab/build/CMakeFiles/CMakeTmp/testCCompiler.c
+Linking C executable cmTryCompileExec807595616
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec807595616.dir/link.txt --verbose=1
+/bin/cc CMakeFiles/cmTryCompileExec807595616.dir/testCCompiler.c.o -o cmTryCompileExec807595616 -rdynamic
+gmake[1]: Leaving directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+
+
+Detecting C compiler ABI info compiled with the following output:
+Change Dir: /home2/tcs/librab/build/CMakeFiles/CMakeTmp
+
+Run Build Command:/bin/gmake "cmTryCompileExec2264165811/fast"
+/bin/gmake -f CMakeFiles/cmTryCompileExec2264165811.dir/build.make CMakeFiles/cmTryCompileExec2264165811.dir/build
+gmake[1]: Entering directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+/usr/bin/cmake -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CMakeFiles 1
+Building C object CMakeFiles/cmTryCompileExec2264165811.dir/CMakeCCompilerABI.c.o
+/bin/cc -o CMakeFiles/cmTryCompileExec2264165811.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake/Modules/CMakeCCompilerABI.c
+Linking C executable cmTryCompileExec2264165811
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2264165811.dir/link.txt --verbose=1
+/bin/cc -v CMakeFiles/cmTryCompileExec2264165811.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec2264165811 -rdynamic
+Using built-in specs.
+COLLECT_GCC=/bin/cc
+COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
+Target: x86_64-redhat-linux
+Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
+Thread model: posix
+gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)
+COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/:/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/:/usr/lib/gcc/x86_64-redhat-linux/
+LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/4.8.5/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../:/lib/:/usr/lib/
+COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2264165811' '-rdynamic' '-mtune=generic' '-march=x86-64'
+ /usr/libexec/gcc/x86_64-redhat-linux/4.8.5/collect2 --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTryCompileExec2264165811 /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. CMakeFiles/cmTryCompileExec2264165811.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o
+gmake[1]: Leaving directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+
+
+Parsed C implicit link information from above output:
+ link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
+ ignore line: [Change Dir: /home2/tcs/librab/build/CMakeFiles/CMakeTmp]
+ ignore line: []
+ ignore line: [Run Build Command:/bin/gmake "cmTryCompileExec2264165811/fast"]
+ ignore line: [/bin/gmake -f CMakeFiles/cmTryCompileExec2264165811.dir/build.make CMakeFiles/cmTryCompileExec2264165811.dir/build]
+ ignore line: [gmake[1]: Entering directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp']
+ ignore line: [/usr/bin/cmake -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CMakeFiles 1]
+ ignore line: [Building C object CMakeFiles/cmTryCompileExec2264165811.dir/CMakeCCompilerABI.c.o]
+ ignore line: [/bin/cc -o CMakeFiles/cmTryCompileExec2264165811.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake/Modules/CMakeCCompilerABI.c]
+ ignore line: [Linking C executable cmTryCompileExec2264165811]
+ ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2264165811.dir/link.txt --verbose=1]
+ ignore line: [/bin/cc -v CMakeFiles/cmTryCompileExec2264165811.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec2264165811 -rdynamic ]
+ ignore line: [Using built-in specs.]
+ ignore line: [COLLECT_GCC=/bin/cc]
+ ignore line: [COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper]
+ ignore line: [Target: x86_64-redhat-linux]
+ ignore line: [Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux]
+ ignore line: [Thread model: posix]
+ ignore line: [gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ]
+ ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/:/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/:/usr/lib/gcc/x86_64-redhat-linux/]
+ ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/4.8.5/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../:/lib/:/usr/lib/]
+ ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2264165811' '-rdynamic' '-mtune=generic' '-march=x86-64']
+ link line: [ /usr/libexec/gcc/x86_64-redhat-linux/4.8.5/collect2 --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTryCompileExec2264165811 /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. CMakeFiles/cmTryCompileExec2264165811.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o]
+ arg [/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/collect2] ==> ignore
+ arg [--build-id] ==> ignore
+ arg [--no-add-needed] ==> ignore
+ arg [--eh-frame-hdr] ==> ignore
+ arg [--hash-style=gnu] ==> ignore
+ arg [-m] ==> ignore
+ arg [elf_x86_64] ==> ignore
+ arg [-export-dynamic] ==> ignore
+ arg [-dynamic-linker] ==> ignore
+ arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
+ arg [-o] ==> ignore
+ arg [cmTryCompileExec2264165811] ==> ignore
+ arg [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o] ==> ignore
+ arg [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o] ==> ignore
+ arg [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o] ==> ignore
+ arg [-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5]
+ arg [-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64]
+ arg [-L/lib/../lib64] ==> dir [/lib/../lib64]
+ arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64]
+ arg [-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../..] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../..]
+ arg [CMakeFiles/cmTryCompileExec2264165811.dir/CMakeCCompilerABI.c.o] ==> ignore
+ arg [-lgcc] ==> lib [gcc]
+ arg [--as-needed] ==> ignore
+ arg [-lgcc_s] ==> lib [gcc_s]
+ arg [--no-as-needed] ==> ignore
+ arg [-lc] ==> lib [c]
+ arg [-lgcc] ==> lib [gcc]
+ arg [--as-needed] ==> ignore
+ arg [-lgcc_s] ==> lib [gcc_s]
+ arg [--no-as-needed] ==> ignore
+ arg [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o] ==> ignore
+ arg [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o] ==> ignore
+ remove lib [gcc]
+ remove lib [gcc_s]
+ remove lib [gcc]
+ remove lib [gcc_s]
+ collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5] ==> [/usr/lib/gcc/x86_64-redhat-linux/4.8.5]
+ collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64] ==> [/usr/lib64]
+ collapse library dir [/lib/../lib64] ==> [/lib64]
+ collapse library dir [/usr/lib/../lib64] ==> [/usr/lib64]
+ collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../..] ==> [/usr/lib]
+ implicit libs: [c]
+ implicit dirs: [/usr/lib/gcc/x86_64-redhat-linux/4.8.5;/usr/lib64;/lib64;/usr/lib]
+ implicit fwks: []
+
+
+Determining if the getaddrinfo exist passed with the following output:
+Change Dir: /home2/tcs/librab/build/CMakeFiles/CMakeTmp
+
+Run Build Command:/bin/gmake "cmTryCompileExec3130596907/fast"
+/bin/gmake -f CMakeFiles/cmTryCompileExec3130596907.dir/build.make CMakeFiles/cmTryCompileExec3130596907.dir/build
+gmake[1]: Entering directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+/usr/bin/cmake -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CMakeFiles 1
+Building C object CMakeFiles/cmTryCompileExec3130596907.dir/CheckSymbolExists.c.o
+/bin/cc -o CMakeFiles/cmTryCompileExec3130596907.dir/CheckSymbolExists.c.o -c /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
+Linking C executable cmTryCompileExec3130596907
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3130596907.dir/link.txt --verbose=1
+/bin/cc CMakeFiles/cmTryCompileExec3130596907.dir/CheckSymbolExists.c.o -o cmTryCompileExec3130596907 -rdynamic
+gmake[1]: Leaving directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+
+File /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
+/* */
+#include
+#include
+#include
+
+int main(int argc, char** argv)
+{
+ (void)argv;
+#ifndef getaddrinfo
+ return ((int*)(&getaddrinfo))[argc];
+#else
+ (void)argc;
+ return 0;
+#endif
+}
+
+Determining if the socket exist passed with the following output:
+Change Dir: /home2/tcs/librab/build/CMakeFiles/CMakeTmp
+
+Run Build Command:/bin/gmake "cmTryCompileExec3670270143/fast"
+/bin/gmake -f CMakeFiles/cmTryCompileExec3670270143.dir/build.make CMakeFiles/cmTryCompileExec3670270143.dir/build
+gmake[1]: Entering directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+/usr/bin/cmake -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CMakeFiles 1
+Building C object CMakeFiles/cmTryCompileExec3670270143.dir/CheckSymbolExists.c.o
+/bin/cc -o CMakeFiles/cmTryCompileExec3670270143.dir/CheckSymbolExists.c.o -c /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
+Linking C executable cmTryCompileExec3670270143
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3670270143.dir/link.txt --verbose=1
+/bin/cc CMakeFiles/cmTryCompileExec3670270143.dir/CheckSymbolExists.c.o -o cmTryCompileExec3670270143 -rdynamic
+gmake[1]: Leaving directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+
+File /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
+/* */
+#include
+#include
+
+int main(int argc, char** argv)
+{
+ (void)argv;
+#ifndef socket
+ return ((int*)(&socket))[argc];
+#else
+ (void)argc;
+ return 0;
+#endif
+}
+
+Determining if the poll exist passed with the following output:
+Change Dir: /home2/tcs/librab/build/CMakeFiles/CMakeTmp
+
+Run Build Command:/bin/gmake "cmTryCompileExec2479661165/fast"
+/bin/gmake -f CMakeFiles/cmTryCompileExec2479661165.dir/build.make CMakeFiles/cmTryCompileExec2479661165.dir/build
+gmake[1]: Entering directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+/usr/bin/cmake -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CMakeFiles 1
+Building C object CMakeFiles/cmTryCompileExec2479661165.dir/CheckSymbolExists.c.o
+/bin/cc -o CMakeFiles/cmTryCompileExec2479661165.dir/CheckSymbolExists.c.o -c /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
+Linking C executable cmTryCompileExec2479661165
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2479661165.dir/link.txt --verbose=1
+/bin/cc CMakeFiles/cmTryCompileExec2479661165.dir/CheckSymbolExists.c.o -o cmTryCompileExec2479661165 -rdynamic
+gmake[1]: Leaving directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+
+File /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
+/* */
+#include
+
+int main(int argc, char** argv)
+{
+ (void)argv;
+#ifndef poll
+ return ((int*)(&poll))[argc];
+#else
+ (void)argc;
+ return 0;
+#endif
+}
+
+Determining if the function clock_gettime exists in the rt passed with the following output:
+Change Dir: /home2/tcs/librab/build/CMakeFiles/CMakeTmp
+
+Run Build Command:/bin/gmake "cmTryCompileExec634510025/fast"
+/bin/gmake -f CMakeFiles/cmTryCompileExec634510025.dir/build.make CMakeFiles/cmTryCompileExec634510025.dir/build
+gmake[1]: Entering directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+/usr/bin/cmake -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CMakeFiles 1
+Building C object CMakeFiles/cmTryCompileExec634510025.dir/CheckFunctionExists.c.o
+/bin/cc -DCHECK_FUNCTION_EXISTS=clock_gettime -o CMakeFiles/cmTryCompileExec634510025.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
+Linking C executable cmTryCompileExec634510025
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec634510025.dir/link.txt --verbose=1
+/bin/cc -DCHECK_FUNCTION_EXISTS=clock_gettime CMakeFiles/cmTryCompileExec634510025.dir/CheckFunctionExists.c.o -o cmTryCompileExec634510025 -L/home2/tcs/librab/build/CMakeFiles/CMakeTmp/time.h -rdynamic -lrt -Wl,-rpath,/home2/tcs/librab/build/CMakeFiles/CMakeTmp/time.h
+gmake[1]: Leaving directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+
+
+Determining if the function posix_spawnp exists in the rt passed with the following output:
+Change Dir: /home2/tcs/librab/build/CMakeFiles/CMakeTmp
+
+Run Build Command:/bin/gmake "cmTryCompileExec730907294/fast"
+/bin/gmake -f CMakeFiles/cmTryCompileExec730907294.dir/build.make CMakeFiles/cmTryCompileExec730907294.dir/build
+gmake[1]: Entering directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+/usr/bin/cmake -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CMakeFiles 1
+Building C object CMakeFiles/cmTryCompileExec730907294.dir/CheckFunctionExists.c.o
+/bin/cc -DCHECK_FUNCTION_EXISTS=posix_spawnp -o CMakeFiles/cmTryCompileExec730907294.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
+Linking C executable cmTryCompileExec730907294
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec730907294.dir/link.txt --verbose=1
+/bin/cc -DCHECK_FUNCTION_EXISTS=posix_spawnp CMakeFiles/cmTryCompileExec730907294.dir/CheckFunctionExists.c.o -o cmTryCompileExec730907294 -L/home2/tcs/librab/build/CMakeFiles/CMakeTmp/spawn.h -rdynamic -lrt -Wl,-rpath,/home2/tcs/librab/build/CMakeFiles/CMakeTmp/spawn.h
+gmake[1]: Leaving directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+
+
+Determining if files pthread.h exist passed with the following output:
+Change Dir: /home2/tcs/librab/build/CMakeFiles/CMakeTmp
+
+Run Build Command:/bin/gmake "cmTryCompileExec1558597324/fast"
+/bin/gmake -f CMakeFiles/cmTryCompileExec1558597324.dir/build.make CMakeFiles/cmTryCompileExec1558597324.dir/build
+gmake[1]: Entering directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+/usr/bin/cmake -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CMakeFiles 1
+Building C object CMakeFiles/cmTryCompileExec1558597324.dir/CheckIncludeFiles.c.o
+/bin/cc -o CMakeFiles/cmTryCompileExec1558597324.dir/CheckIncludeFiles.c.o -c /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
+Linking C executable cmTryCompileExec1558597324
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1558597324.dir/link.txt --verbose=1
+/bin/cc CMakeFiles/cmTryCompileExec1558597324.dir/CheckIncludeFiles.c.o -o cmTryCompileExec1558597324 -rdynamic
+gmake[1]: Leaving directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+
+
+Determining if the function pthread_create exists in the pthread passed with the following output:
+Change Dir: /home2/tcs/librab/build/CMakeFiles/CMakeTmp
+
+Run Build Command:/bin/gmake "cmTryCompileExec238625379/fast"
+/bin/gmake -f CMakeFiles/cmTryCompileExec238625379.dir/build.make CMakeFiles/cmTryCompileExec238625379.dir/build
+gmake[1]: Entering directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+/usr/bin/cmake -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CMakeFiles 1
+Building C object CMakeFiles/cmTryCompileExec238625379.dir/CheckFunctionExists.c.o
+/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec238625379.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
+Linking C executable cmTryCompileExec238625379
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec238625379.dir/link.txt --verbose=1
+/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec238625379.dir/CheckFunctionExists.c.o -o cmTryCompileExec238625379 -rdynamic -lpthread
+gmake[1]: Leaving directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+
+
+Performing C SOURCE FILE Test HAVE_GNU90 succeded with the following output:
+Change Dir: /home2/tcs/librab/build/CMakeFiles/CMakeTmp
+
+Run Build Command:/bin/gmake "cmTryCompileExec2751196429/fast"
+/bin/gmake -f CMakeFiles/cmTryCompileExec2751196429.dir/build.make CMakeFiles/cmTryCompileExec2751196429.dir/build
+gmake[1]: Entering directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+/usr/bin/cmake -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CMakeFiles 1
+Building C object CMakeFiles/cmTryCompileExec2751196429.dir/src.c.o
+/bin/cc -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -DHAVE_GNU90 -std=gnu90 -o CMakeFiles/cmTryCompileExec2751196429.dir/src.c.o -c /home2/tcs/librab/build/CMakeFiles/CMakeTmp/src.c
+Linking C executable cmTryCompileExec2751196429
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2751196429.dir/link.txt --verbose=1
+/bin/cc -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -DHAVE_GNU90 CMakeFiles/cmTryCompileExec2751196429.dir/src.c.o -o cmTryCompileExec2751196429 -rdynamic
+gmake[1]: Leaving directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
+
+Source file was:
+int main(void) { return 0; }
diff --git a/librab/build/CMakeFiles/Makefile.cmake b/librab/build/CMakeFiles/Makefile.cmake
new file mode 100644
index 0000000..1abfea2
--- /dev/null
+++ b/librab/build/CMakeFiles/Makefile.cmake
@@ -0,0 +1,86 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# The generator used is:
+SET(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
+
+# The top level Makefile was generated from the following files:
+SET(CMAKE_MAKEFILE_DEPENDS
+ "CMakeCache.txt"
+ "CMakeFiles/2.8.12.2/CMakeCCompiler.cmake"
+ "CMakeFiles/2.8.12.2/CMakeSystem.cmake"
+ "CMakeLists.txt"
+ "cmake/CMakePushCheckState.cmake"
+ "cmake/FindPOPT.cmake"
+ "cmake/FindXmlTo.cmake"
+ "cmake/GNUInstallDirs.cmake"
+ "cmake/TestCInline.cmake"
+ "cmake/config.h.in"
+ "examples/CMakeLists.txt"
+ "librabbitmq.pc.in"
+ "librabbitmq/CMakeLists.txt"
+ "tests/CMakeLists.txt"
+ "tests/test_tables.expected"
+ "/usr/share/cmake/Modules/CMakeCInformation.cmake"
+ "/usr/share/cmake/Modules/CMakeCommonLanguageInclude.cmake"
+ "/usr/share/cmake/Modules/CMakeGenericSystem.cmake"
+ "/usr/share/cmake/Modules/CMakeParseArguments.cmake"
+ "/usr/share/cmake/Modules/CMakeSystemSpecificInformation.cmake"
+ "/usr/share/cmake/Modules/CheckCCompilerFlag.cmake"
+ "/usr/share/cmake/Modules/CheckCSourceCompiles.cmake"
+ "/usr/share/cmake/Modules/CheckIncludeFiles.cmake"
+ "/usr/share/cmake/Modules/CheckLibraryExists.cmake"
+ "/usr/share/cmake/Modules/CheckSymbolExists.cmake"
+ "/usr/share/cmake/Modules/Compiler/GNU-C.cmake"
+ "/usr/share/cmake/Modules/Compiler/GNU.cmake"
+ "/usr/share/cmake/Modules/FindDoxygen.cmake"
+ "/usr/share/cmake/Modules/FindOpenSSL.cmake"
+ "/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake"
+ "/usr/share/cmake/Modules/FindPackageMessage.cmake"
+ "/usr/share/cmake/Modules/FindPkgConfig.cmake"
+ "/usr/share/cmake/Modules/FindThreads.cmake"
+ "/usr/share/cmake/Modules/Platform/Linux-GNU-C.cmake"
+ "/usr/share/cmake/Modules/Platform/Linux-GNU.cmake"
+ "/usr/share/cmake/Modules/Platform/Linux.cmake"
+ "/usr/share/cmake/Modules/Platform/UnixPaths.cmake"
+ )
+
+# The corresponding makefile is:
+SET(CMAKE_MAKEFILE_OUTPUTS
+ "Makefile"
+ "CMakeFiles/cmake.check_cache"
+ )
+
+# Byproducts of CMake generate step:
+SET(CMAKE_MAKEFILE_PRODUCTS
+ "librabbitmq/config.h"
+ "librabbitmq.pc"
+ "CMakeFiles/CMakeDirectoryInformation.cmake"
+ "librabbitmq/CMakeFiles/CMakeDirectoryInformation.cmake"
+ "examples/CMakeFiles/CMakeDirectoryInformation.cmake"
+ "tests/CMakeFiles/CMakeDirectoryInformation.cmake"
+ )
+
+# Dependency information for all targets:
+SET(CMAKE_DEPEND_INFO_FILES
+ "librabbitmq/CMakeFiles/rabbitmq.dir/DependInfo.cmake"
+ "librabbitmq/CMakeFiles/rabbitmq-static.dir/DependInfo.cmake"
+ "examples/CMakeFiles/amqp_bind.dir/DependInfo.cmake"
+ "examples/CMakeFiles/amqp_connect_timeout.dir/DependInfo.cmake"
+ "examples/CMakeFiles/amqp_consumer.dir/DependInfo.cmake"
+ "examples/CMakeFiles/amqp_exchange_declare.dir/DependInfo.cmake"
+ "examples/CMakeFiles/amqp_listen.dir/DependInfo.cmake"
+ "examples/CMakeFiles/amqp_listenq.dir/DependInfo.cmake"
+ "examples/CMakeFiles/amqp_producer.dir/DependInfo.cmake"
+ "examples/CMakeFiles/amqp_rpc_sendstring_client.dir/DependInfo.cmake"
+ "examples/CMakeFiles/amqp_sendstring.dir/DependInfo.cmake"
+ "examples/CMakeFiles/amqp_ssl_connect.dir/DependInfo.cmake"
+ "examples/CMakeFiles/amqp_unbind.dir/DependInfo.cmake"
+ "tests/CMakeFiles/test_basic.dir/DependInfo.cmake"
+ "tests/CMakeFiles/test_hostcheck.dir/DependInfo.cmake"
+ "tests/CMakeFiles/test_merge_capabilities.dir/DependInfo.cmake"
+ "tests/CMakeFiles/test_parse_url.dir/DependInfo.cmake"
+ "tests/CMakeFiles/test_sasl_mechanism.dir/DependInfo.cmake"
+ "tests/CMakeFiles/test_status_enum.dir/DependInfo.cmake"
+ "tests/CMakeFiles/test_tables.dir/DependInfo.cmake"
+ )
diff --git a/librab/build/CMakeFiles/Makefile2 b/librab/build/CMakeFiles/Makefile2
new file mode 100644
index 0000000..60313b4
--- /dev/null
+++ b/librab/build/CMakeFiles/Makefile2
@@ -0,0 +1,846 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# Default target executed when no arguments are given to make.
+default_target: all
+.PHONY : default_target
+
+# The main recursive all target
+all:
+.PHONY : all
+
+# The main recursive preinstall target
+preinstall:
+.PHONY : preinstall
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The program to use to edit the cache.
+CMAKE_EDIT_COMMAND = /usr/bin/ccmake
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home2/tcs/librab/build
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home2/tcs/librab/build
+
+#=============================================================================
+# Directory level rules for directory librabbitmq
+
+# Convenience name for "all" pass in the directory.
+librabbitmq/all: librabbitmq/CMakeFiles/rabbitmq.dir/all
+librabbitmq/all: librabbitmq/CMakeFiles/rabbitmq-static.dir/all
+.PHONY : librabbitmq/all
+
+# Convenience name for "clean" pass in the directory.
+librabbitmq/clean: librabbitmq/CMakeFiles/rabbitmq.dir/clean
+librabbitmq/clean: librabbitmq/CMakeFiles/rabbitmq-static.dir/clean
+.PHONY : librabbitmq/clean
+
+# Convenience name for "preinstall" pass in the directory.
+librabbitmq/preinstall:
+.PHONY : librabbitmq/preinstall
+
+#=============================================================================
+# Target rules for target librabbitmq/CMakeFiles/rabbitmq.dir
+
+# All Build rule for target.
+librabbitmq/CMakeFiles/rabbitmq.dir/all:
+ $(MAKE) -f librabbitmq/CMakeFiles/rabbitmq.dir/build.make librabbitmq/CMakeFiles/rabbitmq.dir/depend
+ $(MAKE) -f librabbitmq/CMakeFiles/rabbitmq.dir/build.make librabbitmq/CMakeFiles/rabbitmq.dir/build
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles 34 35 36 37 38 39 40 41 42 43 44 45 46 47
+ @echo "Built target rabbitmq"
+.PHONY : librabbitmq/CMakeFiles/rabbitmq.dir/all
+
+# Include target in all.
+all: librabbitmq/CMakeFiles/rabbitmq.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+librabbitmq/CMakeFiles/rabbitmq.dir/rule: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 14
+ $(MAKE) -f CMakeFiles/Makefile2 librabbitmq/CMakeFiles/rabbitmq.dir/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 0
+.PHONY : librabbitmq/CMakeFiles/rabbitmq.dir/rule
+
+# Convenience name for target.
+rabbitmq: librabbitmq/CMakeFiles/rabbitmq.dir/rule
+.PHONY : rabbitmq
+
+# clean rule for target.
+librabbitmq/CMakeFiles/rabbitmq.dir/clean:
+ $(MAKE) -f librabbitmq/CMakeFiles/rabbitmq.dir/build.make librabbitmq/CMakeFiles/rabbitmq.dir/clean
+.PHONY : librabbitmq/CMakeFiles/rabbitmq.dir/clean
+
+# clean rule for target.
+clean: librabbitmq/CMakeFiles/rabbitmq.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target librabbitmq/CMakeFiles/rabbitmq-static.dir
+
+# All Build rule for target.
+librabbitmq/CMakeFiles/rabbitmq-static.dir/all:
+ $(MAKE) -f librabbitmq/CMakeFiles/rabbitmq-static.dir/build.make librabbitmq/CMakeFiles/rabbitmq-static.dir/depend
+ $(MAKE) -f librabbitmq/CMakeFiles/rabbitmq-static.dir/build.make librabbitmq/CMakeFiles/rabbitmq-static.dir/build
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles 48 49 50 51 52 53 54 55 56 57 58 59 60 61
+ @echo "Built target rabbitmq-static"
+.PHONY : librabbitmq/CMakeFiles/rabbitmq-static.dir/all
+
+# Include target in all.
+all: librabbitmq/CMakeFiles/rabbitmq-static.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+librabbitmq/CMakeFiles/rabbitmq-static.dir/rule: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 14
+ $(MAKE) -f CMakeFiles/Makefile2 librabbitmq/CMakeFiles/rabbitmq-static.dir/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 0
+.PHONY : librabbitmq/CMakeFiles/rabbitmq-static.dir/rule
+
+# Convenience name for target.
+rabbitmq-static: librabbitmq/CMakeFiles/rabbitmq-static.dir/rule
+.PHONY : rabbitmq-static
+
+# clean rule for target.
+librabbitmq/CMakeFiles/rabbitmq-static.dir/clean:
+ $(MAKE) -f librabbitmq/CMakeFiles/rabbitmq-static.dir/build.make librabbitmq/CMakeFiles/rabbitmq-static.dir/clean
+.PHONY : librabbitmq/CMakeFiles/rabbitmq-static.dir/clean
+
+# clean rule for target.
+clean: librabbitmq/CMakeFiles/rabbitmq-static.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Directory level rules for directory examples
+
+# Convenience name for "all" pass in the directory.
+examples/all: examples/CMakeFiles/amqp_bind.dir/all
+examples/all: examples/CMakeFiles/amqp_connect_timeout.dir/all
+examples/all: examples/CMakeFiles/amqp_consumer.dir/all
+examples/all: examples/CMakeFiles/amqp_exchange_declare.dir/all
+examples/all: examples/CMakeFiles/amqp_listen.dir/all
+examples/all: examples/CMakeFiles/amqp_listenq.dir/all
+examples/all: examples/CMakeFiles/amqp_producer.dir/all
+examples/all: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/all
+examples/all: examples/CMakeFiles/amqp_sendstring.dir/all
+examples/all: examples/CMakeFiles/amqp_ssl_connect.dir/all
+examples/all: examples/CMakeFiles/amqp_unbind.dir/all
+.PHONY : examples/all
+
+# Convenience name for "clean" pass in the directory.
+examples/clean: examples/CMakeFiles/amqp_bind.dir/clean
+examples/clean: examples/CMakeFiles/amqp_connect_timeout.dir/clean
+examples/clean: examples/CMakeFiles/amqp_consumer.dir/clean
+examples/clean: examples/CMakeFiles/amqp_exchange_declare.dir/clean
+examples/clean: examples/CMakeFiles/amqp_listen.dir/clean
+examples/clean: examples/CMakeFiles/amqp_listenq.dir/clean
+examples/clean: examples/CMakeFiles/amqp_producer.dir/clean
+examples/clean: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/clean
+examples/clean: examples/CMakeFiles/amqp_sendstring.dir/clean
+examples/clean: examples/CMakeFiles/amqp_ssl_connect.dir/clean
+examples/clean: examples/CMakeFiles/amqp_unbind.dir/clean
+.PHONY : examples/clean
+
+# Convenience name for "preinstall" pass in the directory.
+examples/preinstall:
+.PHONY : examples/preinstall
+
+#=============================================================================
+# Target rules for target examples/CMakeFiles/amqp_bind.dir
+
+# All Build rule for target.
+examples/CMakeFiles/amqp_bind.dir/all: librabbitmq/CMakeFiles/rabbitmq.dir/all
+ $(MAKE) -f examples/CMakeFiles/amqp_bind.dir/build.make examples/CMakeFiles/amqp_bind.dir/depend
+ $(MAKE) -f examples/CMakeFiles/amqp_bind.dir/build.make examples/CMakeFiles/amqp_bind.dir/build
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles 1 2 3
+ @echo "Built target amqp_bind"
+.PHONY : examples/CMakeFiles/amqp_bind.dir/all
+
+# Include target in all.
+all: examples/CMakeFiles/amqp_bind.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+examples/CMakeFiles/amqp_bind.dir/rule: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 17
+ $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/amqp_bind.dir/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 0
+.PHONY : examples/CMakeFiles/amqp_bind.dir/rule
+
+# Convenience name for target.
+amqp_bind: examples/CMakeFiles/amqp_bind.dir/rule
+.PHONY : amqp_bind
+
+# clean rule for target.
+examples/CMakeFiles/amqp_bind.dir/clean:
+ $(MAKE) -f examples/CMakeFiles/amqp_bind.dir/build.make examples/CMakeFiles/amqp_bind.dir/clean
+.PHONY : examples/CMakeFiles/amqp_bind.dir/clean
+
+# clean rule for target.
+clean: examples/CMakeFiles/amqp_bind.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target examples/CMakeFiles/amqp_connect_timeout.dir
+
+# All Build rule for target.
+examples/CMakeFiles/amqp_connect_timeout.dir/all: librabbitmq/CMakeFiles/rabbitmq.dir/all
+ $(MAKE) -f examples/CMakeFiles/amqp_connect_timeout.dir/build.make examples/CMakeFiles/amqp_connect_timeout.dir/depend
+ $(MAKE) -f examples/CMakeFiles/amqp_connect_timeout.dir/build.make examples/CMakeFiles/amqp_connect_timeout.dir/build
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles 4 5 6
+ @echo "Built target amqp_connect_timeout"
+.PHONY : examples/CMakeFiles/amqp_connect_timeout.dir/all
+
+# Include target in all.
+all: examples/CMakeFiles/amqp_connect_timeout.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+examples/CMakeFiles/amqp_connect_timeout.dir/rule: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 17
+ $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/amqp_connect_timeout.dir/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 0
+.PHONY : examples/CMakeFiles/amqp_connect_timeout.dir/rule
+
+# Convenience name for target.
+amqp_connect_timeout: examples/CMakeFiles/amqp_connect_timeout.dir/rule
+.PHONY : amqp_connect_timeout
+
+# clean rule for target.
+examples/CMakeFiles/amqp_connect_timeout.dir/clean:
+ $(MAKE) -f examples/CMakeFiles/amqp_connect_timeout.dir/build.make examples/CMakeFiles/amqp_connect_timeout.dir/clean
+.PHONY : examples/CMakeFiles/amqp_connect_timeout.dir/clean
+
+# clean rule for target.
+clean: examples/CMakeFiles/amqp_connect_timeout.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target examples/CMakeFiles/amqp_consumer.dir
+
+# All Build rule for target.
+examples/CMakeFiles/amqp_consumer.dir/all: librabbitmq/CMakeFiles/rabbitmq.dir/all
+ $(MAKE) -f examples/CMakeFiles/amqp_consumer.dir/build.make examples/CMakeFiles/amqp_consumer.dir/depend
+ $(MAKE) -f examples/CMakeFiles/amqp_consumer.dir/build.make examples/CMakeFiles/amqp_consumer.dir/build
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles 7 8 9
+ @echo "Built target amqp_consumer"
+.PHONY : examples/CMakeFiles/amqp_consumer.dir/all
+
+# Include target in all.
+all: examples/CMakeFiles/amqp_consumer.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+examples/CMakeFiles/amqp_consumer.dir/rule: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 17
+ $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/amqp_consumer.dir/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 0
+.PHONY : examples/CMakeFiles/amqp_consumer.dir/rule
+
+# Convenience name for target.
+amqp_consumer: examples/CMakeFiles/amqp_consumer.dir/rule
+.PHONY : amqp_consumer
+
+# clean rule for target.
+examples/CMakeFiles/amqp_consumer.dir/clean:
+ $(MAKE) -f examples/CMakeFiles/amqp_consumer.dir/build.make examples/CMakeFiles/amqp_consumer.dir/clean
+.PHONY : examples/CMakeFiles/amqp_consumer.dir/clean
+
+# clean rule for target.
+clean: examples/CMakeFiles/amqp_consumer.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target examples/CMakeFiles/amqp_exchange_declare.dir
+
+# All Build rule for target.
+examples/CMakeFiles/amqp_exchange_declare.dir/all: librabbitmq/CMakeFiles/rabbitmq.dir/all
+ $(MAKE) -f examples/CMakeFiles/amqp_exchange_declare.dir/build.make examples/CMakeFiles/amqp_exchange_declare.dir/depend
+ $(MAKE) -f examples/CMakeFiles/amqp_exchange_declare.dir/build.make examples/CMakeFiles/amqp_exchange_declare.dir/build
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles 10 11 12
+ @echo "Built target amqp_exchange_declare"
+.PHONY : examples/CMakeFiles/amqp_exchange_declare.dir/all
+
+# Include target in all.
+all: examples/CMakeFiles/amqp_exchange_declare.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+examples/CMakeFiles/amqp_exchange_declare.dir/rule: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 17
+ $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/amqp_exchange_declare.dir/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 0
+.PHONY : examples/CMakeFiles/amqp_exchange_declare.dir/rule
+
+# Convenience name for target.
+amqp_exchange_declare: examples/CMakeFiles/amqp_exchange_declare.dir/rule
+.PHONY : amqp_exchange_declare
+
+# clean rule for target.
+examples/CMakeFiles/amqp_exchange_declare.dir/clean:
+ $(MAKE) -f examples/CMakeFiles/amqp_exchange_declare.dir/build.make examples/CMakeFiles/amqp_exchange_declare.dir/clean
+.PHONY : examples/CMakeFiles/amqp_exchange_declare.dir/clean
+
+# clean rule for target.
+clean: examples/CMakeFiles/amqp_exchange_declare.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target examples/CMakeFiles/amqp_listen.dir
+
+# All Build rule for target.
+examples/CMakeFiles/amqp_listen.dir/all: librabbitmq/CMakeFiles/rabbitmq.dir/all
+ $(MAKE) -f examples/CMakeFiles/amqp_listen.dir/build.make examples/CMakeFiles/amqp_listen.dir/depend
+ $(MAKE) -f examples/CMakeFiles/amqp_listen.dir/build.make examples/CMakeFiles/amqp_listen.dir/build
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles 13 14 15
+ @echo "Built target amqp_listen"
+.PHONY : examples/CMakeFiles/amqp_listen.dir/all
+
+# Include target in all.
+all: examples/CMakeFiles/amqp_listen.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+examples/CMakeFiles/amqp_listen.dir/rule: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 17
+ $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/amqp_listen.dir/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 0
+.PHONY : examples/CMakeFiles/amqp_listen.dir/rule
+
+# Convenience name for target.
+amqp_listen: examples/CMakeFiles/amqp_listen.dir/rule
+.PHONY : amqp_listen
+
+# clean rule for target.
+examples/CMakeFiles/amqp_listen.dir/clean:
+ $(MAKE) -f examples/CMakeFiles/amqp_listen.dir/build.make examples/CMakeFiles/amqp_listen.dir/clean
+.PHONY : examples/CMakeFiles/amqp_listen.dir/clean
+
+# clean rule for target.
+clean: examples/CMakeFiles/amqp_listen.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target examples/CMakeFiles/amqp_listenq.dir
+
+# All Build rule for target.
+examples/CMakeFiles/amqp_listenq.dir/all: librabbitmq/CMakeFiles/rabbitmq.dir/all
+ $(MAKE) -f examples/CMakeFiles/amqp_listenq.dir/build.make examples/CMakeFiles/amqp_listenq.dir/depend
+ $(MAKE) -f examples/CMakeFiles/amqp_listenq.dir/build.make examples/CMakeFiles/amqp_listenq.dir/build
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles 16 17 18
+ @echo "Built target amqp_listenq"
+.PHONY : examples/CMakeFiles/amqp_listenq.dir/all
+
+# Include target in all.
+all: examples/CMakeFiles/amqp_listenq.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+examples/CMakeFiles/amqp_listenq.dir/rule: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 17
+ $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/amqp_listenq.dir/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 0
+.PHONY : examples/CMakeFiles/amqp_listenq.dir/rule
+
+# Convenience name for target.
+amqp_listenq: examples/CMakeFiles/amqp_listenq.dir/rule
+.PHONY : amqp_listenq
+
+# clean rule for target.
+examples/CMakeFiles/amqp_listenq.dir/clean:
+ $(MAKE) -f examples/CMakeFiles/amqp_listenq.dir/build.make examples/CMakeFiles/amqp_listenq.dir/clean
+.PHONY : examples/CMakeFiles/amqp_listenq.dir/clean
+
+# clean rule for target.
+clean: examples/CMakeFiles/amqp_listenq.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target examples/CMakeFiles/amqp_producer.dir
+
+# All Build rule for target.
+examples/CMakeFiles/amqp_producer.dir/all: librabbitmq/CMakeFiles/rabbitmq.dir/all
+ $(MAKE) -f examples/CMakeFiles/amqp_producer.dir/build.make examples/CMakeFiles/amqp_producer.dir/depend
+ $(MAKE) -f examples/CMakeFiles/amqp_producer.dir/build.make examples/CMakeFiles/amqp_producer.dir/build
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles 19 20 21
+ @echo "Built target amqp_producer"
+.PHONY : examples/CMakeFiles/amqp_producer.dir/all
+
+# Include target in all.
+all: examples/CMakeFiles/amqp_producer.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+examples/CMakeFiles/amqp_producer.dir/rule: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 17
+ $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/amqp_producer.dir/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 0
+.PHONY : examples/CMakeFiles/amqp_producer.dir/rule
+
+# Convenience name for target.
+amqp_producer: examples/CMakeFiles/amqp_producer.dir/rule
+.PHONY : amqp_producer
+
+# clean rule for target.
+examples/CMakeFiles/amqp_producer.dir/clean:
+ $(MAKE) -f examples/CMakeFiles/amqp_producer.dir/build.make examples/CMakeFiles/amqp_producer.dir/clean
+.PHONY : examples/CMakeFiles/amqp_producer.dir/clean
+
+# clean rule for target.
+clean: examples/CMakeFiles/amqp_producer.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target examples/CMakeFiles/amqp_rpc_sendstring_client.dir
+
+# All Build rule for target.
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/all: librabbitmq/CMakeFiles/rabbitmq.dir/all
+ $(MAKE) -f examples/CMakeFiles/amqp_rpc_sendstring_client.dir/build.make examples/CMakeFiles/amqp_rpc_sendstring_client.dir/depend
+ $(MAKE) -f examples/CMakeFiles/amqp_rpc_sendstring_client.dir/build.make examples/CMakeFiles/amqp_rpc_sendstring_client.dir/build
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles 22 23 24
+ @echo "Built target amqp_rpc_sendstring_client"
+.PHONY : examples/CMakeFiles/amqp_rpc_sendstring_client.dir/all
+
+# Include target in all.
+all: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/rule: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 17
+ $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/amqp_rpc_sendstring_client.dir/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 0
+.PHONY : examples/CMakeFiles/amqp_rpc_sendstring_client.dir/rule
+
+# Convenience name for target.
+amqp_rpc_sendstring_client: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/rule
+.PHONY : amqp_rpc_sendstring_client
+
+# clean rule for target.
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/clean:
+ $(MAKE) -f examples/CMakeFiles/amqp_rpc_sendstring_client.dir/build.make examples/CMakeFiles/amqp_rpc_sendstring_client.dir/clean
+.PHONY : examples/CMakeFiles/amqp_rpc_sendstring_client.dir/clean
+
+# clean rule for target.
+clean: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target examples/CMakeFiles/amqp_sendstring.dir
+
+# All Build rule for target.
+examples/CMakeFiles/amqp_sendstring.dir/all: librabbitmq/CMakeFiles/rabbitmq.dir/all
+ $(MAKE) -f examples/CMakeFiles/amqp_sendstring.dir/build.make examples/CMakeFiles/amqp_sendstring.dir/depend
+ $(MAKE) -f examples/CMakeFiles/amqp_sendstring.dir/build.make examples/CMakeFiles/amqp_sendstring.dir/build
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles 25 26 27
+ @echo "Built target amqp_sendstring"
+.PHONY : examples/CMakeFiles/amqp_sendstring.dir/all
+
+# Include target in all.
+all: examples/CMakeFiles/amqp_sendstring.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+examples/CMakeFiles/amqp_sendstring.dir/rule: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 17
+ $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/amqp_sendstring.dir/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 0
+.PHONY : examples/CMakeFiles/amqp_sendstring.dir/rule
+
+# Convenience name for target.
+amqp_sendstring: examples/CMakeFiles/amqp_sendstring.dir/rule
+.PHONY : amqp_sendstring
+
+# clean rule for target.
+examples/CMakeFiles/amqp_sendstring.dir/clean:
+ $(MAKE) -f examples/CMakeFiles/amqp_sendstring.dir/build.make examples/CMakeFiles/amqp_sendstring.dir/clean
+.PHONY : examples/CMakeFiles/amqp_sendstring.dir/clean
+
+# clean rule for target.
+clean: examples/CMakeFiles/amqp_sendstring.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target examples/CMakeFiles/amqp_ssl_connect.dir
+
+# All Build rule for target.
+examples/CMakeFiles/amqp_ssl_connect.dir/all: librabbitmq/CMakeFiles/rabbitmq.dir/all
+ $(MAKE) -f examples/CMakeFiles/amqp_ssl_connect.dir/build.make examples/CMakeFiles/amqp_ssl_connect.dir/depend
+ $(MAKE) -f examples/CMakeFiles/amqp_ssl_connect.dir/build.make examples/CMakeFiles/amqp_ssl_connect.dir/build
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles 28 29 30
+ @echo "Built target amqp_ssl_connect"
+.PHONY : examples/CMakeFiles/amqp_ssl_connect.dir/all
+
+# Include target in all.
+all: examples/CMakeFiles/amqp_ssl_connect.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+examples/CMakeFiles/amqp_ssl_connect.dir/rule: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 17
+ $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/amqp_ssl_connect.dir/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 0
+.PHONY : examples/CMakeFiles/amqp_ssl_connect.dir/rule
+
+# Convenience name for target.
+amqp_ssl_connect: examples/CMakeFiles/amqp_ssl_connect.dir/rule
+.PHONY : amqp_ssl_connect
+
+# clean rule for target.
+examples/CMakeFiles/amqp_ssl_connect.dir/clean:
+ $(MAKE) -f examples/CMakeFiles/amqp_ssl_connect.dir/build.make examples/CMakeFiles/amqp_ssl_connect.dir/clean
+.PHONY : examples/CMakeFiles/amqp_ssl_connect.dir/clean
+
+# clean rule for target.
+clean: examples/CMakeFiles/amqp_ssl_connect.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target examples/CMakeFiles/amqp_unbind.dir
+
+# All Build rule for target.
+examples/CMakeFiles/amqp_unbind.dir/all: librabbitmq/CMakeFiles/rabbitmq.dir/all
+ $(MAKE) -f examples/CMakeFiles/amqp_unbind.dir/build.make examples/CMakeFiles/amqp_unbind.dir/depend
+ $(MAKE) -f examples/CMakeFiles/amqp_unbind.dir/build.make examples/CMakeFiles/amqp_unbind.dir/build
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles 31 32 33
+ @echo "Built target amqp_unbind"
+.PHONY : examples/CMakeFiles/amqp_unbind.dir/all
+
+# Include target in all.
+all: examples/CMakeFiles/amqp_unbind.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+examples/CMakeFiles/amqp_unbind.dir/rule: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 17
+ $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/amqp_unbind.dir/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 0
+.PHONY : examples/CMakeFiles/amqp_unbind.dir/rule
+
+# Convenience name for target.
+amqp_unbind: examples/CMakeFiles/amqp_unbind.dir/rule
+.PHONY : amqp_unbind
+
+# clean rule for target.
+examples/CMakeFiles/amqp_unbind.dir/clean:
+ $(MAKE) -f examples/CMakeFiles/amqp_unbind.dir/build.make examples/CMakeFiles/amqp_unbind.dir/clean
+.PHONY : examples/CMakeFiles/amqp_unbind.dir/clean
+
+# clean rule for target.
+clean: examples/CMakeFiles/amqp_unbind.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Directory level rules for directory tests
+
+# Convenience name for "all" pass in the directory.
+tests/all: tests/CMakeFiles/test_basic.dir/all
+tests/all: tests/CMakeFiles/test_hostcheck.dir/all
+tests/all: tests/CMakeFiles/test_merge_capabilities.dir/all
+tests/all: tests/CMakeFiles/test_parse_url.dir/all
+tests/all: tests/CMakeFiles/test_sasl_mechanism.dir/all
+tests/all: tests/CMakeFiles/test_status_enum.dir/all
+tests/all: tests/CMakeFiles/test_tables.dir/all
+.PHONY : tests/all
+
+# Convenience name for "clean" pass in the directory.
+tests/clean: tests/CMakeFiles/test_basic.dir/clean
+tests/clean: tests/CMakeFiles/test_hostcheck.dir/clean
+tests/clean: tests/CMakeFiles/test_merge_capabilities.dir/clean
+tests/clean: tests/CMakeFiles/test_parse_url.dir/clean
+tests/clean: tests/CMakeFiles/test_sasl_mechanism.dir/clean
+tests/clean: tests/CMakeFiles/test_status_enum.dir/clean
+tests/clean: tests/CMakeFiles/test_tables.dir/clean
+.PHONY : tests/clean
+
+# Convenience name for "preinstall" pass in the directory.
+tests/preinstall:
+.PHONY : tests/preinstall
+
+#=============================================================================
+# Target rules for target tests/CMakeFiles/test_basic.dir
+
+# All Build rule for target.
+tests/CMakeFiles/test_basic.dir/all: librabbitmq/CMakeFiles/rabbitmq-static.dir/all
+ $(MAKE) -f tests/CMakeFiles/test_basic.dir/build.make tests/CMakeFiles/test_basic.dir/depend
+ $(MAKE) -f tests/CMakeFiles/test_basic.dir/build.make tests/CMakeFiles/test_basic.dir/build
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles 62
+ @echo "Built target test_basic"
+.PHONY : tests/CMakeFiles/test_basic.dir/all
+
+# Include target in all.
+all: tests/CMakeFiles/test_basic.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+tests/CMakeFiles/test_basic.dir/rule: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 15
+ $(MAKE) -f CMakeFiles/Makefile2 tests/CMakeFiles/test_basic.dir/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 0
+.PHONY : tests/CMakeFiles/test_basic.dir/rule
+
+# Convenience name for target.
+test_basic: tests/CMakeFiles/test_basic.dir/rule
+.PHONY : test_basic
+
+# clean rule for target.
+tests/CMakeFiles/test_basic.dir/clean:
+ $(MAKE) -f tests/CMakeFiles/test_basic.dir/build.make tests/CMakeFiles/test_basic.dir/clean
+.PHONY : tests/CMakeFiles/test_basic.dir/clean
+
+# clean rule for target.
+clean: tests/CMakeFiles/test_basic.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target tests/CMakeFiles/test_hostcheck.dir
+
+# All Build rule for target.
+tests/CMakeFiles/test_hostcheck.dir/all:
+ $(MAKE) -f tests/CMakeFiles/test_hostcheck.dir/build.make tests/CMakeFiles/test_hostcheck.dir/depend
+ $(MAKE) -f tests/CMakeFiles/test_hostcheck.dir/build.make tests/CMakeFiles/test_hostcheck.dir/build
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles 63 64
+ @echo "Built target test_hostcheck"
+.PHONY : tests/CMakeFiles/test_hostcheck.dir/all
+
+# Include target in all.
+all: tests/CMakeFiles/test_hostcheck.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+tests/CMakeFiles/test_hostcheck.dir/rule: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 2
+ $(MAKE) -f CMakeFiles/Makefile2 tests/CMakeFiles/test_hostcheck.dir/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 0
+.PHONY : tests/CMakeFiles/test_hostcheck.dir/rule
+
+# Convenience name for target.
+test_hostcheck: tests/CMakeFiles/test_hostcheck.dir/rule
+.PHONY : test_hostcheck
+
+# clean rule for target.
+tests/CMakeFiles/test_hostcheck.dir/clean:
+ $(MAKE) -f tests/CMakeFiles/test_hostcheck.dir/build.make tests/CMakeFiles/test_hostcheck.dir/clean
+.PHONY : tests/CMakeFiles/test_hostcheck.dir/clean
+
+# clean rule for target.
+clean: tests/CMakeFiles/test_hostcheck.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target tests/CMakeFiles/test_merge_capabilities.dir
+
+# All Build rule for target.
+tests/CMakeFiles/test_merge_capabilities.dir/all: librabbitmq/CMakeFiles/rabbitmq-static.dir/all
+ $(MAKE) -f tests/CMakeFiles/test_merge_capabilities.dir/build.make tests/CMakeFiles/test_merge_capabilities.dir/depend
+ $(MAKE) -f tests/CMakeFiles/test_merge_capabilities.dir/build.make tests/CMakeFiles/test_merge_capabilities.dir/build
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles 65
+ @echo "Built target test_merge_capabilities"
+.PHONY : tests/CMakeFiles/test_merge_capabilities.dir/all
+
+# Include target in all.
+all: tests/CMakeFiles/test_merge_capabilities.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+tests/CMakeFiles/test_merge_capabilities.dir/rule: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 15
+ $(MAKE) -f CMakeFiles/Makefile2 tests/CMakeFiles/test_merge_capabilities.dir/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 0
+.PHONY : tests/CMakeFiles/test_merge_capabilities.dir/rule
+
+# Convenience name for target.
+test_merge_capabilities: tests/CMakeFiles/test_merge_capabilities.dir/rule
+.PHONY : test_merge_capabilities
+
+# clean rule for target.
+tests/CMakeFiles/test_merge_capabilities.dir/clean:
+ $(MAKE) -f tests/CMakeFiles/test_merge_capabilities.dir/build.make tests/CMakeFiles/test_merge_capabilities.dir/clean
+.PHONY : tests/CMakeFiles/test_merge_capabilities.dir/clean
+
+# clean rule for target.
+clean: tests/CMakeFiles/test_merge_capabilities.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target tests/CMakeFiles/test_parse_url.dir
+
+# All Build rule for target.
+tests/CMakeFiles/test_parse_url.dir/all: librabbitmq/CMakeFiles/rabbitmq-static.dir/all
+ $(MAKE) -f tests/CMakeFiles/test_parse_url.dir/build.make tests/CMakeFiles/test_parse_url.dir/depend
+ $(MAKE) -f tests/CMakeFiles/test_parse_url.dir/build.make tests/CMakeFiles/test_parse_url.dir/build
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles 66
+ @echo "Built target test_parse_url"
+.PHONY : tests/CMakeFiles/test_parse_url.dir/all
+
+# Include target in all.
+all: tests/CMakeFiles/test_parse_url.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+tests/CMakeFiles/test_parse_url.dir/rule: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 15
+ $(MAKE) -f CMakeFiles/Makefile2 tests/CMakeFiles/test_parse_url.dir/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 0
+.PHONY : tests/CMakeFiles/test_parse_url.dir/rule
+
+# Convenience name for target.
+test_parse_url: tests/CMakeFiles/test_parse_url.dir/rule
+.PHONY : test_parse_url
+
+# clean rule for target.
+tests/CMakeFiles/test_parse_url.dir/clean:
+ $(MAKE) -f tests/CMakeFiles/test_parse_url.dir/build.make tests/CMakeFiles/test_parse_url.dir/clean
+.PHONY : tests/CMakeFiles/test_parse_url.dir/clean
+
+# clean rule for target.
+clean: tests/CMakeFiles/test_parse_url.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target tests/CMakeFiles/test_sasl_mechanism.dir
+
+# All Build rule for target.
+tests/CMakeFiles/test_sasl_mechanism.dir/all: librabbitmq/CMakeFiles/rabbitmq-static.dir/all
+ $(MAKE) -f tests/CMakeFiles/test_sasl_mechanism.dir/build.make tests/CMakeFiles/test_sasl_mechanism.dir/depend
+ $(MAKE) -f tests/CMakeFiles/test_sasl_mechanism.dir/build.make tests/CMakeFiles/test_sasl_mechanism.dir/build
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles 67
+ @echo "Built target test_sasl_mechanism"
+.PHONY : tests/CMakeFiles/test_sasl_mechanism.dir/all
+
+# Include target in all.
+all: tests/CMakeFiles/test_sasl_mechanism.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+tests/CMakeFiles/test_sasl_mechanism.dir/rule: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 15
+ $(MAKE) -f CMakeFiles/Makefile2 tests/CMakeFiles/test_sasl_mechanism.dir/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 0
+.PHONY : tests/CMakeFiles/test_sasl_mechanism.dir/rule
+
+# Convenience name for target.
+test_sasl_mechanism: tests/CMakeFiles/test_sasl_mechanism.dir/rule
+.PHONY : test_sasl_mechanism
+
+# clean rule for target.
+tests/CMakeFiles/test_sasl_mechanism.dir/clean:
+ $(MAKE) -f tests/CMakeFiles/test_sasl_mechanism.dir/build.make tests/CMakeFiles/test_sasl_mechanism.dir/clean
+.PHONY : tests/CMakeFiles/test_sasl_mechanism.dir/clean
+
+# clean rule for target.
+clean: tests/CMakeFiles/test_sasl_mechanism.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target tests/CMakeFiles/test_status_enum.dir
+
+# All Build rule for target.
+tests/CMakeFiles/test_status_enum.dir/all: librabbitmq/CMakeFiles/rabbitmq-static.dir/all
+ $(MAKE) -f tests/CMakeFiles/test_status_enum.dir/build.make tests/CMakeFiles/test_status_enum.dir/depend
+ $(MAKE) -f tests/CMakeFiles/test_status_enum.dir/build.make tests/CMakeFiles/test_status_enum.dir/build
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles 68
+ @echo "Built target test_status_enum"
+.PHONY : tests/CMakeFiles/test_status_enum.dir/all
+
+# Include target in all.
+all: tests/CMakeFiles/test_status_enum.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+tests/CMakeFiles/test_status_enum.dir/rule: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 15
+ $(MAKE) -f CMakeFiles/Makefile2 tests/CMakeFiles/test_status_enum.dir/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 0
+.PHONY : tests/CMakeFiles/test_status_enum.dir/rule
+
+# Convenience name for target.
+test_status_enum: tests/CMakeFiles/test_status_enum.dir/rule
+.PHONY : test_status_enum
+
+# clean rule for target.
+tests/CMakeFiles/test_status_enum.dir/clean:
+ $(MAKE) -f tests/CMakeFiles/test_status_enum.dir/build.make tests/CMakeFiles/test_status_enum.dir/clean
+.PHONY : tests/CMakeFiles/test_status_enum.dir/clean
+
+# clean rule for target.
+clean: tests/CMakeFiles/test_status_enum.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target tests/CMakeFiles/test_tables.dir
+
+# All Build rule for target.
+tests/CMakeFiles/test_tables.dir/all: librabbitmq/CMakeFiles/rabbitmq-static.dir/all
+ $(MAKE) -f tests/CMakeFiles/test_tables.dir/build.make tests/CMakeFiles/test_tables.dir/depend
+ $(MAKE) -f tests/CMakeFiles/test_tables.dir/build.make tests/CMakeFiles/test_tables.dir/build
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles 69
+ @echo "Built target test_tables"
+.PHONY : tests/CMakeFiles/test_tables.dir/all
+
+# Include target in all.
+all: tests/CMakeFiles/test_tables.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+tests/CMakeFiles/test_tables.dir/rule: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 15
+ $(MAKE) -f CMakeFiles/Makefile2 tests/CMakeFiles/test_tables.dir/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home2/tcs/librab/build/CMakeFiles 0
+.PHONY : tests/CMakeFiles/test_tables.dir/rule
+
+# Convenience name for target.
+test_tables: tests/CMakeFiles/test_tables.dir/rule
+.PHONY : test_tables
+
+# clean rule for target.
+tests/CMakeFiles/test_tables.dir/clean:
+ $(MAKE) -f tests/CMakeFiles/test_tables.dir/build.make tests/CMakeFiles/test_tables.dir/clean
+.PHONY : tests/CMakeFiles/test_tables.dir/clean
+
+# clean rule for target.
+clean: tests/CMakeFiles/test_tables.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Special targets to cleanup operation of make.
+
+# Special rule to run CMake to check the build system integrity.
+# No rule that depends on this can have commands that come from listfiles
+# because they might be regenerated.
+cmake_check_build_system:
+ $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
+.PHONY : cmake_check_build_system
+
diff --git a/librab/build/CMakeFiles/TargetDirectories.txt b/librab/build/CMakeFiles/TargetDirectories.txt
new file mode 100644
index 0000000..2d477c8
--- /dev/null
+++ b/librab/build/CMakeFiles/TargetDirectories.txt
@@ -0,0 +1,20 @@
+/home2/tcs/librab/build/examples/CMakeFiles/amqp_bind.dir
+/home2/tcs/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir
+/home2/tcs/librab/build/examples/CMakeFiles/amqp_consumer.dir
+/home2/tcs/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir
+/home2/tcs/librab/build/examples/CMakeFiles/amqp_listen.dir
+/home2/tcs/librab/build/examples/CMakeFiles/amqp_listenq.dir
+/home2/tcs/librab/build/examples/CMakeFiles/amqp_producer.dir
+/home2/tcs/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir
+/home2/tcs/librab/build/examples/CMakeFiles/amqp_sendstring.dir
+/home2/tcs/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir
+/home2/tcs/librab/build/examples/CMakeFiles/amqp_unbind.dir
+/home2/tcs/librab/build/librabbitmq/CMakeFiles/rabbitmq.dir
+/home2/tcs/librab/build/librabbitmq/CMakeFiles/rabbitmq-static.dir
+/home2/tcs/librab/build/tests/CMakeFiles/test_basic.dir
+/home2/tcs/librab/build/tests/CMakeFiles/test_hostcheck.dir
+/home2/tcs/librab/build/tests/CMakeFiles/test_merge_capabilities.dir
+/home2/tcs/librab/build/tests/CMakeFiles/test_parse_url.dir
+/home2/tcs/librab/build/tests/CMakeFiles/test_sasl_mechanism.dir
+/home2/tcs/librab/build/tests/CMakeFiles/test_status_enum.dir
+/home2/tcs/librab/build/tests/CMakeFiles/test_tables.dir
diff --git a/librab/build/CMakeFiles/cmake.check_cache b/librab/build/CMakeFiles/cmake.check_cache
new file mode 100644
index 0000000..3dccd73
--- /dev/null
+++ b/librab/build/CMakeFiles/cmake.check_cache
@@ -0,0 +1 @@
+# This file is generated by cmake for dependency checking of the CMakeCache.txt file
diff --git a/librab/build/CMakeFiles/progress.marks b/librab/build/CMakeFiles/progress.marks
new file mode 100644
index 0000000..b5489e5
--- /dev/null
+++ b/librab/build/CMakeFiles/progress.marks
@@ -0,0 +1 @@
+69
diff --git a/librab/build/CMakeLists.txt b/librab/build/CMakeLists.txt
new file mode 100644
index 0000000..58b57c0
--- /dev/null
+++ b/librab/build/CMakeLists.txt
@@ -0,0 +1,343 @@
+cmake_minimum_required(VERSION 2.8.12)
+project(rabbitmq-c "C")
+
+# Enable MACOSX_RPATH by default. See: cmake --help-policy CMP0042
+if (POLICY CMP0042)
+ cmake_policy(SET CMP0042 NEW)
+endif()
+
+set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
+
+# Follow all steps below in order to calculate new ABI version when updating the library
+# NOTE: THIS IS UNRELATED to the actual project version
+#
+# 1. If the library source code has changed at all since the last update, then increment revision
+# 2. If any interfaces have been added, removed, or changed since the last update, increment current and set revision to 0.
+# 3. If any interfaces have been added since the last public release, then increment age.
+# 4. If any interfaces have been removed since the last public release, then set age to 0.
+
+set(RMQ_SOVERSION_CURRENT 7)
+set(RMQ_SOVERSION_REVISION 1)
+set(RMQ_SOVERSION_AGE 3)
+
+math(EXPR RMQ_SOVERSION_MAJOR "${RMQ_SOVERSION_CURRENT} - ${RMQ_SOVERSION_AGE}")
+math(EXPR RMQ_SOVERSION_MINOR "${RMQ_SOVERSION_AGE}")
+math(EXPR RMQ_SOVERSION_PATCH "${RMQ_SOVERSION_REVISION}")
+
+set(RMQ_VERSION ${RMQ_SOVERSION_MAJOR}.${RMQ_SOVERSION_MINOR}.${RMQ_SOVERSION_PATCH})
+set(RMQ_SOVERSION ${RMQ_SOVERSION_MAJOR})
+
+file(STRINGS librabbitmq/amqp.h _API_VERSION_MAJOR REGEX "^#define AMQP_VERSION_MAJOR [0-9]+$")
+file(STRINGS librabbitmq/amqp.h _API_VERSION_MINOR REGEX "^#define AMQP_VERSION_MINOR [0-9]+$")
+file(STRINGS librabbitmq/amqp.h _API_VERSION_PATCH REGEX "^#define AMQP_VERSION_PATCH [0-9]+$")
+
+string(REGEX MATCH "[0-9]+" _API_VERSION_MAJOR ${_API_VERSION_MAJOR})
+string(REGEX MATCH "[0-9]+" _API_VERSION_MINOR ${_API_VERSION_MINOR})
+string(REGEX MATCH "[0-9]+" _API_VERSION_PATCH ${_API_VERSION_PATCH})
+
+# VERSION to match what is in autotools
+set(VERSION ${_API_VERSION_MAJOR}.${_API_VERSION_MINOR}.${_API_VERSION_PATCH})
+
+if (CMAKE_GENERATOR MATCHES ".*(Make|Ninja).*"
+ AND NOT CMAKE_BUILD_TYPE)
+ set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE)
+ message(STATUS "CMAKE_BUILD_TYPE not specified. Creating ${CMAKE_BUILD_TYPE} build")
+endif()
+
+include(TestCInline)
+include(CheckSymbolExists)
+include(CheckLibraryExists)
+include(CMakePushCheckState)
+include(GNUInstallDirs)
+include(CheckCCompilerFlag)
+
+# Detect if we need to link against a socket library:
+cmake_push_check_state()
+if (WIN32)
+ # Always use WinSock2 on Windows
+ set(SOCKET_LIBRARIES ws2_32)
+else ()
+ # Is it in the default link?
+ check_symbol_exists(getaddrinfo "sys/types.h;sys/socket.h;netdb.h" HAVE_GETADDRINFO)
+ if (NOT (HAVE_GETADDRINFO EQUAL 1))
+ SET(CMAKE_REQUIRED_LIBRARIES "socket")
+ check_symbol_exists(getaddrinfo "sys/types.h;sys/socket.h;netdb.h" HAVE_GETADDRINFO2)
+ if (HAVE_GETADDRINFO2 EQUAL 1)
+ set(SOCKET_LIBRARIES socket)
+ else ()
+ SET(CMAKE_REQUIRED_LIBRARIES "socket;nsl")
+ check_symbol_exists(getaddrinfo "sys/types.h;sys/socket.h;netdb.h" HAVE_GETADDRINFO3)
+ if (HAVE_GETADDRINFO3 EQUAL 1)
+ set(SOCKET_LIBRARIES socket nsl)
+ else ()
+ message(FATAL_ERROR "Cannot find name resolution library (containing symbol getaddrinfo)")
+ endif ()
+ endif ()
+ endif ()
+
+ set(CMAKE_REQUIRED_LIBRARIES ${SOCKET_LIBRARIES})
+ check_symbol_exists(socket "sys/types.h;sys/socket.h" HAVE_SOCKET)
+ if (NOT HAVE_SOCKET EQUAL 1)
+ set(CMAKE_REQUIRED_LIBRARIES socket ${SOCKET_LIBRARIES})
+ check_symbol_exists(socket "sys/types.h;sys/socket.h" HAVE_SOCKET2)
+ if (HAVE_SOCKET2 EQUAL 1)
+ set(SOCKET_LIBRARIES socket ${SOCKET_LIBRARIES})
+ else ()
+ set(CMAKE_REQUIRED_LIBRARIES socket nsl ${SOCKET_LIBRARIES})
+ check_symbol_exists(socket "sys/types.h;sys/socket.h" HAVE_SOCKET3)
+ if (HAVE_SOCKET3 EQUAL 1)
+ set(SOCKET_LIBRARIES socket nsl ${SOCKET_LIBRARIES})
+ else ()
+ message(FATAL_ERROR "Cannot find socket library (containing symbol socket)")
+ endif ()
+ endif ()
+ endif ()
+endif ()
+cmake_pop_check_state()
+
+cmake_push_check_state()
+set(CMAKE_REQUIRED_LIBRARIES ${SOCKET_LIBRARIES})
+check_symbol_exists(poll poll.h HAVE_POLL)
+if (NOT HAVE_POLL)
+ if (WIN32)
+ set(HAVE_SELECT 1)
+ else()
+ check_symbol_exists(select sys/select.h HAVE_SELECT)
+ endif()
+ if (NOT HAVE_SELECT)
+ message(FATAL_ERROR "rabbitmq-c requires poll() or select() to be available")
+ endif()
+endif()
+cmake_pop_check_state()
+
+check_library_exists(rt clock_gettime "time.h" CLOCK_GETTIME_NEEDS_LIBRT)
+check_library_exists(rt posix_spawnp "spawn.h" POSIX_SPAWNP_NEEDS_LIBRT)
+if (CLOCK_GETTIME_NEEDS_LIBRT OR POSIX_SPAWNP_NEEDS_LIBRT)
+ set(LIBRT rt)
+endif()
+
+option(ENABLE_SSL_SUPPORT "Enable SSL support" ON)
+
+if (ENABLE_SSL_SUPPORT)
+ find_package(OpenSSL 0.9.8 REQUIRED)
+
+ cmake_push_check_state()
+ set(THREADS_PREFER_PTHREAD_FLAG ON)
+ find_package(Threads REQUIRED)
+ cmake_pop_check_state()
+endif()
+
+if (MSVC)
+ set(CMAKE_C_FLAGS "/W4 /nologo ${CMAKE_C_FLAGS}")
+elseif (CMAKE_C_COMPILER_ID MATCHES ".*Clang")
+ set(CMAKE_C_FLAGS "-Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden ${CMAKE_C_FLAGS}")
+elseif (CMAKE_COMPILER_IS_GNUCC)
+ set(RMQ_C_FLAGS "-Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common")
+ execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)
+ if (GCC_VERSION VERSION_GREATER 4.0 OR GCC_VERSION VERSION_EQUAL 4.0)
+ set(RMQ_C_FLAGS "${RMQ_C_FLAGS} -fvisibility=hidden")
+ endif()
+ set(CMAKE_C_FLAGS "${RMQ_C_FLAGS} ${CMAKE_C_FLAGS}")
+endif ()
+
+CHECK_C_COMPILER_FLAG("-std=gnu90" HAVE_GNU90)
+if (HAVE_GNU90)
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu90")
+else()
+ CHECK_C_COMPILER_FLAG("-std=c90" HAVE_C90)
+ if (HAVE_C90)
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c90")
+ endif()
+endif()
+
+option(REGENERATE_AMQP_FRAMING "Regenerate amqp_framing.h/amqp_framing.c sources (for developer use)" OFF)
+mark_as_advanced(REGENERATE_AMQP_FRAMING)
+
+if (REGENERATE_AMQP_FRAMING)
+ find_package(PythonInterp)
+ if (NOT PYTHONINTERP_FOUND)
+ message(FATAL_ERROR "REGENERATE_AMQP_FRAMING requires Python to be available")
+ endif ()
+
+ #Determine Python Version:
+ if(PYTHON_EXECUTABLE)
+ execute_process(COMMAND "${PYTHON_EXECUTABLE}" -c
+ "import sys; sys.stdout.write(';'.join([str(x) for x in sys.version_info[:3]]))"
+ OUTPUT_VARIABLE _VERSION
+ RESULT_VARIABLE _PYTHON_VERSION_RESULT
+ ERROR_QUIET)
+ if(NOT _PYTHON_VERSION_RESULT)
+ string(REPLACE ";" "." PYTHON_VERSION_STRING "${_VERSION}")
+ list(GET _VERSION 0 PYTHON_VERSION_MAJOR)
+ list(GET _VERSION 1 PYTHON_VERSION_MINOR)
+ list(GET _VERSION 2 PYTHON_VERSION_PATCH)
+ if(PYTHON_VERSION_PATCH EQUAL 0)
+ # it's called "Python 2.7", not "2.7.0"
+ string(REGEX REPLACE "\\.0$" "" PYTHON_VERSION_STRING "${PYTHON_VERSION_STRING}")
+ endif()
+ else()
+ # sys.version predates sys.version_info, so use that
+ execute_process(COMMAND "${PYTHON_EXECUTABLE}" -c "import sys; sys.stdout.write(sys.version)"
+ OUTPUT_VARIABLE _VERSION
+ RESULT_VARIABLE _PYTHON_VERSION_RESULT
+ ERROR_QUIET)
+ if(NOT _PYTHON_VERSION_RESULT)
+ string(REGEX REPLACE " .*" "" PYTHON_VERSION_STRING "${_VERSION}")
+ string(REGEX REPLACE "^([0-9]+)\\.[0-9]+.*" "\\1" PYTHON_VERSION_MAJOR "${PYTHON_VERSION_STRING}")
+ string(REGEX REPLACE "^[0-9]+\\.([0-9])+.*" "\\1" PYTHON_VERSION_MINOR "${PYTHON_VERSION_STRING}")
+ if(PYTHON_VERSION_STRING MATCHES "^[0-9]+\\.[0-9]+\\.[0-9]+.*")
+ string(REGEX REPLACE "^[0-9]+\\.[0-9]+\\.([0-9]+).*" "\\1" PYTHON_VERSION_PATCH "${PYTHON_VERSION_STRING}")
+ else()
+ set(PYTHON_VERSION_PATCH "0")
+ endif()
+ else()
+ # sys.version was first documented for Python 1.5, so assume
+ # this is older.
+ set(PYTHON_VERSION_STRING "1.4")
+ set(PYTHON_VERSION_MAJOR "1")
+ set(PYTHON_VERSION_MAJOR "4")
+ set(PYTHON_VERSION_MAJOR "0")
+ endif()
+ endif()
+ unset(_PYTHON_VERSION_RESULT)
+ unset(_VERSION)
+ endif(PYTHON_EXECUTABLE)
+
+ # If we're running v3.x look for a 2to3 utility
+ if (PYTHON_VERSION_MAJOR GREATER 2)
+ get_filename_component(PYTHON_EXE_DIR ${PYTHON_EXECUTABLE} PATH)
+ find_program(PYTHON_2TO3_EXECUTABLE
+ NAMES 2to3
+ HINTS ${PYTHON_EXE_DIR}
+ )
+
+ if ("PYTHON_2TO3_EXECUTABLE-NOTFOUND" STREQUAL PYTHON_2TO3_EXECUTABLE)
+ message(FATAL_ERROR "Unable to find 2to3 python utility, specify python 2.7 or specify 2to3 utility")
+ endif ()
+ endif (PYTHON_VERSION_MAJOR GREATER 2)
+
+
+ #check for json or simplejson
+ execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import json"
+ RESULT_VARIABLE CHECK_PYTHON_JSON_FAILED
+ )
+
+ if (CHECK_PYTHON_JSON_FAILED)
+ execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import simplejson"
+ RESULT_VARIABLE CHECK_PYTHON_SIMPLEJSON_FAILED
+ )
+
+ if (CHECK_PYTHON_SIMPLEJSON_FAILED)
+ message(FATAL_ERROR "REGENERATE_AMQP_FRAMING requires a python with json or simplejson modules")
+ endif (CHECK_PYTHON_SIMPLEJSON_FAILED)
+ endif (CHECK_PYTHON_JSON_FAILED)
+
+
+ find_path(AMQP_CODEGEN_DIR
+ amqp_codegen.py
+ PATHS ${CMAKE_CURRENT_SOURCE_DIR}/codegen
+ ${CMAKE_CURRENT_SOURCE_DIR}/rabbitmq-codegen
+ ${CMAKE_CURRENT_SOURCE_DIR}/../rabbitmq-codegen
+ DOC "Path to directory containing amqp_codegen.py (rabbitmq-codegen)"
+ NO_DEFAULT_PATH
+ )
+
+ if (AMQP_CODEGEN_DIR STREQUAL "AMQP_CODEGEN_DIR-NOTFOUND")
+ message(SEND_ERROR "REGENERATE_AMQP_FRAMING requires the amqp_codegen.py script. If this is a git clone you can:\n\ngit submodule init\ngit submodule update\n\n Or set AMQP_CODEGEN_DIR to directory containing amqp_codegen.py")
+ else ()
+ message(STATUS "Found amqp_codegen.py in ${AMQP_CODEGEN_DIR}")
+ endif()
+endif (REGENERATE_AMQP_FRAMING)
+
+find_package(POPT)
+find_package(XmlTo)
+find_package(Doxygen)
+
+if (POPT_FOUND AND XmlTo_FOUND)
+ set(DO_DOCS ON)
+endif()
+
+
+option(BUILD_SHARED_LIBS "Build rabbitmq-c as a shared library" ON)
+option(BUILD_STATIC_LIBS "Build rabbitmq-c as a static library" ON)
+
+option(BUILD_EXAMPLES "Build Examples" ON)
+option(BUILD_TOOLS "Build Tools (requires POPT Library)" ${POPT_FOUND})
+option(BUILD_TOOLS_DOCS "Build man pages for Tools (requires xmlto)" ${DO_DOCS})
+option(BUILD_TESTS "Build tests (run tests with make test)" ON)
+option(BUILD_API_DOCS "Build Doxygen API docs" ${DOXYGEN_FOUND})
+
+if (NOT BUILD_SHARED_LIBS AND NOT BUILD_STATIC_LIBS)
+ message(FATAL_ERROR "One or both of BUILD_SHARED_LIBS or BUILD_STATIC_LIBS must be set to ON to build")
+endif()
+
+add_subdirectory(librabbitmq)
+
+if (BUILD_EXAMPLES)
+ add_subdirectory(examples)
+endif ()
+
+if (BUILD_TOOLS)
+ if (POPT_FOUND)
+ add_subdirectory(tools)
+ else ()
+ message(WARNING "POpt library was not found. Tools will not be built")
+ endif ()
+endif ()
+
+if (BUILD_TESTS)
+ if (NOT BUILD_STATIC_LIBS)
+ message(FATAL_ERROR
+ "Tests can only be built against static libraries "
+ "(set BUILD_STATIC_LIBS=ON)")
+ endif ()
+ enable_testing()
+ add_subdirectory(tests)
+endif (BUILD_TESTS)
+
+if (BUILD_API_DOCS)
+ if (NOT DOXYGEN_FOUND)
+ message(FATAL_ERROR "Doxygen is required to build the API documentation")
+ endif ()
+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/docs/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/docs/Doxyfile @ONLY)
+
+ add_custom_target(docs
+ COMMAND ${DOXYGEN_EXECUTABLE}
+ VERBATIM
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/docs
+ DEPENDS rabbitmq
+ COMMENT "Generating API documentation"
+ SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/docs/Doxyfile.in
+ )
+endif ()
+
+set(libs_private ${SOCKET_LIBRARIES} ${LIBRT})
+if (ENABLE_SSL_SUPPORT)
+ set(requires_private "openssl")
+ set(libs_private ${libs_private} ${CMAKE_THREAD_LIBS_INIT})
+endif()
+
+set(prefix ${CMAKE_INSTALL_PREFIX})
+set(exec_prefix "\${prefix}")
+set(libdir "\${exec_prefix}/${CMAKE_INSTALL_LIBDIR}")
+set(includedir "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}")
+
+configure_file(cmake/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/librabbitmq/config.h)
+configure_file(librabbitmq.pc.in ${CMAKE_CURRENT_BINARY_DIR}/librabbitmq.pc @ONLY)
+
+install(FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/librabbitmq.pc
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
+ )
+
+if (BUILD_SHARED_LIBS)
+ message(STATUS "Building rabbitmq as a shared library - yes")
+else ()
+ message(STATUS "Building rabbitmq as a shared library - no")
+endif ()
+
+if (BUILD_STATIC_LIBS)
+ message(STATUS "Building rabbitmq as a static library - yes")
+else ()
+ message(STATUS "Building rabbitmq as a static library - no")
+endif ()
diff --git a/librab/build/CMakeTestCInline.c b/librab/build/CMakeTestCInline.c
new file mode 100644
index 0000000..dd722b4
--- /dev/null
+++ b/librab/build/CMakeTestCInline.c
@@ -0,0 +1,3 @@
+/* Inspired by autoconf's c.m4 */
+static inline int static_foo() {return 0;}
+int main(int argc, char *argv[]){return 0;}
diff --git a/librab/build/CONTRIBUTING.md b/librab/build/CONTRIBUTING.md
new file mode 100644
index 0000000..20c2e4d
--- /dev/null
+++ b/librab/build/CONTRIBUTING.md
@@ -0,0 +1,26 @@
+Contributing to rabbitmq-c
+==========================
+
+Thanks for contributing to rabbitmq-c. I firmly believe that participation helps
+make open source software great. With that there are a few things that can be
+done to make our interaction a bit smoother.
+
+Please use the following guidelines when creating an issue or submitting a
+pull request
+
+Creating an issue
+-----------------
+When submitting an issue its helpful to know the following
+ - What version of rabbitmq-c are you using?
+ - What operating system and version are you running on?
+ - What compiler and version are you running?
+ -
+ - If its a build system issue: which build system are you using (
+
+
+Submitting a pull-request
+-------------------------
+I love to get code contributions, a few things that can help out:
+ - Make sure your commits are rebased on the current master branch
+ - Please collapse your commits down to a couple logical commits
+
diff --git a/librab/build/CTestTestfile.cmake b/librab/build/CTestTestfile.cmake
new file mode 100644
index 0000000..d1d3c72
--- /dev/null
+++ b/librab/build/CTestTestfile.cmake
@@ -0,0 +1,9 @@
+# CMake generated Testfile for
+# Source directory: /home2/tcs/librab/build
+# Build directory: /home2/tcs/librab/build
+#
+# This file includes the relevant testing commands required for
+# testing this directory and lists subdirectories to be tested as well.
+SUBDIRS(librabbitmq)
+SUBDIRS(examples)
+SUBDIRS(tests)
diff --git a/librab/build/ChangeLog.md b/librab/build/ChangeLog.md
new file mode 100644
index 0000000..f9d7e40
--- /dev/null
+++ b/librab/build/ChangeLog.md
@@ -0,0 +1,221 @@
+# Change Log
+## v0.9.0 - 2018-05-08
+### Added:
+- amqp-publish: added support for specifying headers via the -H flag
+- Add support for specifying timeout for amqp_login calls via
+ amqp_set_handshake_timeout
+- Add support for specifying timeouts in RPC-style AMQP methods via
+ amqp_set_rpc_timeout
+- Add define for `AMQP_DEFAULT_VHOST`
+- Support for SSL SNI
+- Support for OpenSSL v1.1.0
+
+### Changed:
+- rabbitmq-c now requires Windows Vista or better
+- rabbitmq-c enables TCP keep-alive by default on platforms that support it
+- dropped support for compiling rabbitmq-c without threading support
+- OpenSSL is no longer un-intialized automatically by default. OpenSSL can be
+ explicitly initialized by calling amqp_initialize_ssl_library and
+ uninitialized by calling amqp_uninitialize_ssl_library.
+
+### Fixed:
+- Correct bugs in processing of --url flag in tools (#364).
+- Improve documentation on AMQP_SASL_METHOD_EXTERNAL (#349)
+- Improve support for compiling under mingw-w64
+- Better support for handing SIGPIPE on Linux over SSL (#401)
+- Improve publish performance on Linux by not specifying MSG_MORE on last part
+ of message.
+- Fix connection logic where multiple hostnames won't be tried if connection to
+ doesn't fail immediately (#430)
+
+### Removed:
+- autotools build system has been removed
+- many duplicate amqps_* examples, they did not add a lot of value
+
+
+## v0.8.0 - 2016-04-09
+### Added:
+- SSL: peer certificate and hostname validation can now be controlled separately
+ using `amqp_ssl_socket_set_verify_peer` and
+ `amqp_ssl_socket_set_verify_hostname`.
+- SSL: the desire SSL version range can now be specified using the
+ `amqp_ssl_socket_set_ssl_versions` function.
+- Add flags to SSL examples on controlling hostname verification.
+
+### Changed:
+- SSL: SSLv2, and SSLv3 have been disabled by default.
+- SSL: OpenSSL hostname validation has been improved.
+- Win32 debug information is built with /Z7 on MSVC to embed debug info instead
+ of using a .pdb
+
+### Fixed:
+- Connection failure results in hang on Win32 (#297, #346)
+- Rabbitmq-c may block when attempting to close an SSL socket (#313)
+- amqp_parse_url does not correctly initialize default parameters (#319)
+- x509 objects are leaked in verify_hostname (#323)
+- TCP_NOPUSH doesn't work under cygwin (#335)
+
+### Deprecated
+- SSL: `amqp_ssl_socket_set_verify` is being replaced by
+ `amqp_ssl_socket_set_verify_peer` and `amqp_ssl_socket_set_verify_hostname`.
+
+### Removed:
+- OpenVMS build system and related files.
+- Unmaintained PolarSSL, CyaSSL, and gnuTLS SSL backends
+
+## Changes since v0.7.0 (a.k.a., v0.7.1)
+- `41fa9df` Autoconf: add missing files in build system
+- `ef73c06` Win32: Use WSAEWOULDBLOCK instead of EWOULDBLOCK on Win32
+- `ceca348` CI: use travis-ci container based builds
+- `393e2df` Lib: if channel_max is 0 use server's channel_max
+- `ff47574` Lib: fix build on OpenBSD
+- `8429496...0ac6430` CI: enable CI on Mac OS X in travis-ci
+
+## Changes since v0.6.0 (a.k.a., v0.7.0)
+- `3379812` Tools: Add support for heartbeats
+- `d7029db` CI: Add continuous integration on Win32 using Appveyor
+- `a5f7ffb` Tests: only link against static libraries
+- `a16ad45...9cf7a3b` Lib: add support for EXTERNAL SASL method
+- `038a9ed` Lib: fix incorrect parameters to WSAPoll on Win32
+- `a240c69...14ae307` Lib: use non-blocking sockets internally
+- `8d1d5cc`, `5498dc6` Lib: simplify timer/timeout logic
+- `61fc4e1` Lib: add support for heartbeat checks in blocking send calls
+- `f462c0f...3546a70` Lib: Fix warnings on Win32
+- `ba9d8ba...112a54d` Lib: Add support for RabbitMQ auth failure extension
+- `fb8e318` Lib: allow calling functions to override client-properties
+- `3ef3f5f` examples: replace usleep() with nanosleep()
+- `9027a94` Lib: add AMQP_VERSION code
+- `9ee1718` Lib: fix res maybe returned uninitialized in amqp_merge_capbilities
+- `22a36db` Lib: Fix SSL_connection status check
+- `abbefd4` Lib: Fix issues with c89 compatiblity
+- `2bc1f9b...816cbfc` Lib: perf improvements when sending small messages by
+ hinting to the OS message boundaries.
+- `be2e6dd...784a0e9` Lib: add select()-based timeout implementation
+- `91db548...8d77b4c` CI: add ubsan, asan, and tsan CI builds
+
+## Changes since v0.5.2 (a.k.a., v0.6.0)
+- `e1746f9` Tools: Enable support for SSL in tools.
+- `9626dd5` Lib: ABI CHANGE: enable support for auto_delete, internal flags to
+ amqp_exchange_declare
+- `ee54e27`, `656f833` Lib: check for double-close in SSL/TCP socket impl
+- `cf2760d` Lib: allocate struct when method has no field.
+- `513ad4a` Lib: add support for SANs in OpenSSL socket impl.
+- `5348c69` Lib: add functions to get negotiated frame_max and heartbeat parms.
+
+## Changes since v0.5.1 (a.k.a., v0.5.2)
+- `fcdf0f8` Autoconf: check for htonll as declaration in a header file
+- `5790ec7` SSL: correctly report hostname verification errors.
+- `d60c28c` Build: disable OpenSSL deprecation warnings on OSX
+- `072191a` Lib: include platform, version and copyright in AMQP handshake
+- `8b448c6` Examples: print message body in amqp[s]_listen[q] examples
+- `7188e5d` Tools: Add flag to set prefetch for amqp-consume tool
+
+## Changes since v0.5.0 (a.k.a., v0.5.1)
+### Enhancements:
+- `a566929` SSL: Add support for wildcards in hostname verification (Mike
+ Steinert)
+- `a78aa8a` Lib: Use poll(2) instead of select(2) for timeouts on sockets.
+- `357bdb3` Lib: support for specifying frame and decoding pool sizes. (Mike
+ Stitt)
+- `8956003` Lib: improve invalid frame detection code.
+
+### Bug fixes:
+- `b852f84` Lib: Add missing amqp_get_server_properties() function.
+- `7001e82` Lib: Add missing ssize_t on Win32 (emazv72)
+- `c2ce2cb` Lib: Correctly specify WINVER on Win32 when unspecified.
+- `fe844e4` CMake: specify -DHAVE_CONFIG_H in examples.
+- `932de5f` Lib: correct time computation on Win32 (jestor)
+- `3e83192` HPUX: use gethrtime on HP-UX for timers.
+- `cb1b44e` HPUX: correct include location of sys/uio.h
+- `8ce585d` Lib: incorrect OOM condition when 0-lenth exchange name is received.
+- `c7716b8` CMake: correct htonll detection code on platforms defined with a
+ macro.
+- `4dc4eda` Lib: remove unused assignment.
+- `45302cf` Lib: remove range-check of channel-ids.
+
+
+## Changes since v0.4.1 (a.k.a., v0.5.0):
+### Major changes:
+- Add amqp_get_broker_properties() function 5c7c40adc1
+- Remove distro-specific packaging a5749657ee
+- Add -x flag to amqp-consume utilty 1d9c5291ff
+- Add amqp_basic_nack() public API 9b168776fb
+- Add delivery mode constants to amqp.h 5f291ea772
+- Add support for connection.blocked/connection.unblocked methods ccbc24d270
+
+### Bug fixes:
+- `f8c6cee749` Examples: Destroy amqp_envelope_t in consumer example
+- `ac88db56d3` CMake: fix generation of librabbitmq.pc
+- `d5b35afa40` CMake: fix missing POPT_INCLUDE_DIRS variable in tools/
+- `5ea6a0945a` build: provide independent locations for x64 libs
+- `fac34656c0` Doc: documentation fixes
+- `715901d675` Lib: Correct OpenSSL initialization under threaded conditions
+- `ce64e57df8` Examples: Handle unexpected frames in amqp_consumer.c
+- `bcda3e933d` CMake: Use GnuInstallDirs to generate install dirs
+- `27245a4e15` Lib: correctly handle amqp_get_monotonic_timestamp on win32
+- `693662ef5b` Tools: honor --persistent flag in publish utility
+- `01d9c3ca60` Doc: improve documentation in amqp_ssl_socket functions
+- `02d5c58ae4` autoconf: correct librabbitmq.pc generation
+- `1f4e0cc48b` Doc: improve documentation in amqp_tcp_socket functions
+
+## Changes since v0.4.0:
+### Major changes:
+- Removed distro-specific packaging d285d01
+
+### Bug fixes:
+- `a642602` FIX: destroy amqp_envelop_t object in consumer example
+- `860dd71` FIX: correct generation of librabbitmq.pc under CMake
+- `bdda7ab` FIX: amqp_socket_close() should not be exported from shlib
+- `24f4131` FIX: Use correct buf/len vars when re-starting send()
+
+## Changes since v0.3.0:
+### New Features/Enhancements:
+- `amqp_login_with_properties()` function to connect to a broker sending a
+ properties table to the broker 21b124e #101
+- SSL support (Mike Steinert) 473c865 #17
+- `amqp_simple_wait_frame_noblock()` function variant to wait for a frame
+ with a timeout f8cfc72 #119
+- Allow memory to be released on a per-channel basis with
+ `amqp_maybe_release_buffers_on_channel()` 4a2d899 #5
+- Support for AMQP heartbeats while blocking in `amqp_simple_wait_frame*()`
+ and `amqp_basic_publish()` daa0e66 aca5dc1
+- `amqp_socket_open_noblock()` for a non-blocking socket connection
+ (Bogdan Padalko) 6ad770d
+- `amqp_table_clone()` to do a deep-copy of an amqp_table_t 08af83a
+- Add option to listen to multiple keys in `amqp_consume` tool (Brian Hammond) e6c256d
+- Add contributed OpenVMS build system 448ab68
+- Higher level APIs for consuming messages 33ebeed #8
+- Doxygen-based API documentation.
+- Many improvements to error-handling and reporting
+
+### Bug Fixes:
+- `24ffaf8` FIX: autotools was broken when dependency-tracking was disabled
+- `38e741b` FIX: CMake XmlTo not found warning
+- `906f04f` FIX: htonll redeclared on Win32 v8
+- `8e41603` FIX: SIGPIPE not disabled on OS X/BSD #102
+- `872ea49` FIX: Header issues with amqp.h on Mingw on Win32 (yoniyoni)
+- `0f1f75b` FIX: potential memory leak in amqp_new_connection
+- `c9f6312` FIX: missing va_end in `amqp_login()`/`amqp_login_with_properties()`
+- `7bb64e4` FIX: include amqp_tcp_socket.h in dpkg (Tim Stewart)
+- `ba9d1f5` FIX: Report out of buffer space in `amqp_table_encode()`
+- `9496e10` FIX: Remove `abort()` on invalid parameter in `amqp_send_frame()`
+- `f209420` FIX: Remote `abort()` in `amqp_simple_wait_method()`
+- `f027518` FIX: Return error on socket lib init error
+- `0ae534a` FIX: Correctly handle 0 return val from `SSL_read()`/`SSL_write()`
+- `22e41b8` FIX: Improve error handling in socket functions
+- `33c2353` FIX: Set state->socket to NULL after `amqp_socket_close()`
+- `c83e728` FIX: Incorrect error code returned
+- `1a19879` FIX: redecl of int i in `amqp_tcp_socket_writev()`
+- `7477449` FIX: incorrect bit-shift in `amqp_error_string2()`
+- `2e37bb3` FIX: correctly handle `amqp_get_sockfd()` in `amqp_simple_wait_frame()`
+- `52a459b` FIX: Don't delete state in `amqp_tune_connection()` on error
+- `01e38dd` FIX: Correctly handle `mach_timebase_info()` failure
+- `34bffb7` FIX: Correctly disable `SIGPIPE` on platforms with `SO_NOSIGPIPE`
+- `3866433` FIX: Use correct number of bits in timer precision on MacOSX
+- `b6a1dfe` FIX: Squash OpenSSL deprecated warnings on MacOSX (Bogdan Padalko)
+- `7a217d5` FIX: Incorrect `assert()` in `wait_frame_inner()`
+- `7942af3` FIX: Correctly handle 0-length table in `amqp_table_clone()`
+- `157788e` FIX: Correctly handle 0-length strings in `amqp_basic_properties_clone()`
+- `4eaf771` FIX: Correctly handle 0-length message body in `amqp_read_message()`
+- `59f943b` FIX: Double-free SSL on connection failure
+- `7a451a4` FIX: `amqp_open_socket()` not defined
diff --git a/librab/build/LICENSE-MIT b/librab/build/LICENSE-MIT
new file mode 100644
index 0000000..5c7630d
--- /dev/null
+++ b/librab/build/LICENSE-MIT
@@ -0,0 +1,28 @@
+Portions created by Alan Antonuk are Copyright (c) 2012-2013
+Alan Antonuk. All Rights Reserved.
+
+Portions created by VMware are Copyright (c) 2007-2012 VMware, Inc.
+All Rights Reserved.
+
+Portions created by Tony Garnock-Jones are Copyright (c) 2009-2010
+VMware, Inc. and Tony Garnock-Jones. All Rights Reserved.
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use, copy,
+modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/librab/build/README.md b/librab/build/README.md
new file mode 100644
index 0000000..b7776c6
--- /dev/null
+++ b/librab/build/README.md
@@ -0,0 +1,128 @@
+# RabbitMQ C AMQP client library
+
+[](http://travis-ci.org/alanxz/rabbitmq-c)
+
+[](https://coveralls.io/github/alanxz/rabbitmq-c?branch=master)
+
+## Introduction
+
+This is a C-language AMQP client library for use with v2.0+ of the
+[RabbitMQ](http://www.rabbitmq.com/) broker.
+
+ -
+
+Announcements regarding the library are periodically made on the
+rabbitmq-c-users and cross-posted to rabbitmq-users.
+
+ -
+ -
+
+## Latest Stable Version
+
+The latest stable release of rabbitmq-c can be found at:
+
+ -
+
+## Documentation
+
+API documentation for v0.8.0+ can viewed from:
+
+
+
+## Getting started
+
+### Building and installing
+
+#### Prereqs:
+- [CMake v2.6 or better](http://www.cmake.org/)
+- A C compiler (GCC 4.4+, clang, and MSVC are test. Other compilers may also
+ work)
+- *Optionally* [OpenSSL](http://www.openssl.org/) v0.9.8+ to enable support for
+ connecting to RabbitMQ over SSL/TLS
+- *Optionally* [POpt](http://freecode.com/projects/popt) to build some handy
+ command-line tools.
+- *Optionally* [XmlTo](https://fedorahosted.org/xmlto/) to build man pages for
+ the handy command-line tools
+- *Optionally* [Doxygen](http://www.stack.nl/~dimitri/doxygen/) to build
+ developer API documentation.
+
+After downloading and extracting the source from a tarball to a directory
+([see above](#latest-stable-version)), the commands to build rabbitmq-c on most
+systems are:
+
+ mkdir build && cd build
+ cmake ..
+ cmake --build . [--config Release]
+
+The --config Release flag should be used in multi-configuration generators e.g.,
+Visual Studio or XCode.
+
+It is also possible to point the CMake GUI tool at the CMakeLists.txt in the root of
+the source tree and generate build projects or IDE workspace
+
+Installing the library and optionally specifying a prefix can be done with:
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
+ cmake --build . [--config Release] --target install
+
+More information on CMake can be found on its FAQ (http://www.cmake.org/Wiki/CMake_FAQ)
+
+Other interesting flags that can be passed to CMake:
+
+* `BUILD_EXAMPLES=ON/OFF` toggles building the examples. ON by default.
+* `BUILD_SHARED_LIBS=ON/OFF` toggles building rabbitmq-c as a shared library.
+ ON by default.
+* `BUILD_STATIC_LIBS=ON/OFF` toggles building rabbitmq-c as a static library.
+ OFF by default.
+* `BUILD_TESTS=ON/OFF` toggles building test code. ON by default.
+* `BUILD_TOOLS=ON/OFF` toggles building the command line tools. By default
+ this is ON if the build system can find the POpt header and library.
+* `BUILD_TOOLS_DOCS=ON/OFF` toggles building the man pages for the command line
+ tools. By default this is ON if BUILD_TOOLS is ON and the build system can
+ find the XmlTo utility.
+* `ENABLE_SSL_SUPPORT=ON/OFF` toggles building rabbitmq-c with SSL support. By
+ default this is ON if the OpenSSL headers and library can be found.
+* `BUILD_API_DOCS=ON/OFF` - toggles building the Doxygen API documentation, by
+ default this is OFF
+
+## Running the examples
+
+Arrange for a RabbitMQ or other AMQP server to be running on
+`localhost` at TCP port number 5672.
+
+In one terminal, run
+
+ ./examples/amqp_listen localhost 5672 amq.direct test
+
+In another terminal,
+
+ ./examples/amqp_sendstring localhost 5672 amq.direct test "hello world"
+
+You should see output similar to the following in the listener's
+terminal window:
+
+ Delivery 1, exchange amq.direct routingkey test
+ Content-type: text/plain
+ ----
+ 00000000: 68 65 6C 6C 6F 20 77 6F : 72 6C 64 hello world
+ 0000000B:
+
+## Writing applications using `librabbitmq`
+
+Please see the `examples` directory for short examples of the use of
+the `librabbitmq` library.
+
+### Threading
+
+You cannot share a socket, an `amqp_connection_state_t`, or a channel
+between threads using `librabbitmq`. The `librabbitmq` library is
+built with event-driven, single-threaded applications in mind, and
+does not yet cater to any of the requirements of `pthread`ed
+applications.
+
+Your applications instead should open an AMQP connection (and an
+associated socket, of course) per thread. If your program needs to
+access an AMQP connection or any of its channels from more than one
+thread, it is entirely responsible for designing and implementing an
+appropriate locking scheme. It will generally be much simpler to have
+a connection exclusive to each thread that needs AMQP service.
diff --git a/librab/build/THANKS b/librab/build/THANKS
new file mode 100644
index 0000000..1f378ea
--- /dev/null
+++ b/librab/build/THANKS
@@ -0,0 +1,8 @@
+Thank-you to the following people for their contributions to the
+codebase:
+
+ - Scott Brooks / Epic Advertising
+
+ - Frank Gönninger
+
+ - Daniel Schauenberg
diff --git a/librab/build/TODO b/librab/build/TODO
new file mode 100644
index 0000000..179d297
--- /dev/null
+++ b/librab/build/TODO
@@ -0,0 +1,9 @@
+Deal with version-mismatch-header received from the server
+
+Cope with unknown frame types better. Currently it gets horribly
+confused about frame lengths.
+
+Make client brutal by default, killing the program on any amqp
+error. Only if the user disables this behaviour will the user get to
+deal with error conditions themselves. Make use of amqp_rpc_reply
+consistent (i.e. universal), and rename it something like amqp_errno.
diff --git a/librab/build/appveyor.yml b/librab/build/appveyor.yml
new file mode 100644
index 0000000..7e41c09
--- /dev/null
+++ b/librab/build/appveyor.yml
@@ -0,0 +1,42 @@
+# appveyor configuration
+version: '{build}'
+
+# Limit history cloned. This matches what travis-CI currently does.
+clone_depth: 50
+
+environment:
+ matrix:
+ - GENERATOR: Visual Studio 12 Win64
+ BITS: 64
+ - GENERATOR: Visual Studio 12
+ BITS: 32
+configuration:
+ - Debug
+ - Release
+
+cache:
+ - c:\deps -> appveyor.yml
+
+# borrowed from https://github.com/FreeTDS/freetds
+install:
+ # xidel (xpath command line tool)
+ - appveyor DownloadFile "https://downloads.sourceforge.net/project/videlibri/Xidel/Xidel 0.9.6/xidel-0.9.6.win32.zip"
+ - 7z x xidel-0.9.6.win32.zip xidel.exe
+ # detect version of Windows OpenSSL binaries published by the Shining Light Productions crew
+ - xidel https://slproweb.com/products/Win32OpenSSL.html --extract "(//td/a[starts-with(@href, '/download') and starts-with(text(), 'Win32 OpenSSL') and ends-with(text(), 'Light')])[1]/translate(substring-before(substring-after(text(), 'Win32 OpenSSL v'), ' Light'), '.', '_')" > openssl_ver.txt
+ - set /P OPENSSL_VER=< openssl_ver.txt
+ # OpenSSL
+ - appveyor DownloadFile https://slproweb.com/download/Win%BITS%OpenSSL-%OPENSSL_VER%.exe
+ - "Win%BITS%OpenSSL-%OPENSSL_VER%.exe /SP- /SILENT /SUPPRESSMSGBOXES /NORESTART"
+
+before_build:
+ - cmake -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=ON -DBUILD_TESTS=ON -DENABLE_SSL_SUPPORT=True -G"%GENERATOR%" .
+
+build:
+ project: ALL_BUILD.vcxproj
+ verbosity: normal
+
+artifacts:
+ - path: librabbitmq\%CONFIGURATION%
+ name: LibRabbit-%BITS%-%OPENSSL_VER%-%CONFIGURATION%.zip
+ type: zip
diff --git a/librab/build/cmake/CMakePushCheckState.cmake b/librab/build/cmake/CMakePushCheckState.cmake
new file mode 100644
index 0000000..038319b
--- /dev/null
+++ b/librab/build/cmake/CMakePushCheckState.cmake
@@ -0,0 +1,103 @@
+# This module defines two macros:
+# CMAKE_PUSH_CHECK_STATE()
+# and
+# CMAKE_POP_CHECK_STATE()
+# These two macros can be used to save and restore the state of the variables
+# CMAKE_REQUIRED_FLAGS, CMAKE_REQUIRED_DEFINITIONS, CMAKE_REQUIRED_LIBRARIES
+# and CMAKE_REQUIRED_INCLUDES used by the various Check-files coming with CMake,
+# like e.g. check_function_exists() etc.
+# The variable contents are pushed on a stack, pushing multiple times is supported.
+# This is useful e.g. when executing such tests in a Find-module, where they have to be set,
+# but after the Find-module has been executed they should have the same value
+# as they had before.
+#
+# Usage:
+# cmake_push_check_state()
+# set(CMAKE_REQUIRED_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} -DSOME_MORE_DEF)
+# check_function_exists(...)
+# cmake_pop_check_state()
+
+#=============================================================================
+# Copyright 2006-2011 Alexander Neundorf,
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+#
+# * Neither the names of Kitware, Inc., the Insight Software Consortium,
+# nor the names of their contributors may be used to endorse or promote
+# products derived from this software without specific prior written
+# permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# ------------------------------------------------------------------------------
+#
+# The above copyright and license notice applies to distributions of
+# CMake in source and binary form. Some source files contain additional
+# notices of original copyright by their contributors; see each source
+# for details. Third-party software packages supplied with CMake under
+# compatible licenses provide their own copyright notices documented in
+# corresponding subdirectories.
+#
+# ------------------------------------------------------------------------------
+#
+# CMake was initially developed by Kitware with the following sponsorship:
+#
+# * National Library of Medicine at the National Institutes of Health
+# as part of the Insight Segmentation and Registration Toolkit (ITK).
+#
+# * US National Labs (Los Alamos, Livermore, Sandia) ASC Parallel
+# Visualization Initiative.
+#
+# * National Alliance for Medical Image Computing (NAMIC) is funded by the
+# National Institutes of Health through the NIH Roadmap for Medical Research,
+# Grant U54 EB005149.
+#
+# * Kitware, Inc.
+
+macro(CMAKE_PUSH_CHECK_STATE)
+
+ if(NOT DEFINED _CMAKE_PUSH_CHECK_STATE_COUNTER)
+ set(_CMAKE_PUSH_CHECK_STATE_COUNTER 0)
+ endif()
+
+ math(EXPR _CMAKE_PUSH_CHECK_STATE_COUNTER "${_CMAKE_PUSH_CHECK_STATE_COUNTER}+1")
+
+ set(_CMAKE_REQUIRED_INCLUDES_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER} ${CMAKE_REQUIRED_INCLUDES})
+ set(_CMAKE_REQUIRED_DEFINITIONS_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER} ${CMAKE_REQUIRED_DEFINITIONS})
+ set(_CMAKE_REQUIRED_LIBRARIES_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER} ${CMAKE_REQUIRED_LIBRARIES})
+ set(_CMAKE_REQUIRED_FLAGS_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER} ${CMAKE_REQUIRED_FLAGS})
+endmacro()
+
+macro(CMAKE_POP_CHECK_STATE)
+
+# don't pop more than we pushed
+ if("${_CMAKE_PUSH_CHECK_STATE_COUNTER}" GREATER "0")
+
+ set(CMAKE_REQUIRED_INCLUDES ${_CMAKE_REQUIRED_INCLUDES_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER}})
+ set(CMAKE_REQUIRED_DEFINITIONS ${_CMAKE_REQUIRED_DEFINITIONS_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER}})
+ set(CMAKE_REQUIRED_LIBRARIES ${_CMAKE_REQUIRED_LIBRARIES_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER}})
+ set(CMAKE_REQUIRED_FLAGS ${_CMAKE_REQUIRED_FLAGS_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER}})
+
+ math(EXPR _CMAKE_PUSH_CHECK_STATE_COUNTER "${_CMAKE_PUSH_CHECK_STATE_COUNTER}-1")
+ endif()
+
+endmacro()
diff --git a/librab/build/cmake/COPYING-CMAKE-SCRIPTS b/librab/build/cmake/COPYING-CMAKE-SCRIPTS
new file mode 100644
index 0000000..53b6b71
--- /dev/null
+++ b/librab/build/cmake/COPYING-CMAKE-SCRIPTS
@@ -0,0 +1,22 @@
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+3. The name of the author may not be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/librab/build/cmake/FindPOPT.cmake b/librab/build/cmake/FindPOPT.cmake
new file mode 100644
index 0000000..79caa01
--- /dev/null
+++ b/librab/build/cmake/FindPOPT.cmake
@@ -0,0 +1,39 @@
+# - Try to find the popt options processing library
+# The module will set the following variables
+#
+# POPT_FOUND - System has popt
+# POPT_INCLUDE_DIR - The popt include directory
+# POPT_LIBRARY - The libraries needed to use popt
+
+# use pkg-config to get the directories and then use these values
+# in the FIND_PATH() and FIND_LIBRARY() calls
+
+find_package(PkgConfig QUIET)
+if (PKG_CONFIG_FOUND)
+ pkg_search_module(PC_POPT QUIET popt)
+endif ()
+
+# Find the include directories
+FIND_PATH(POPT_INCLUDE_DIR
+ NAMES popt.h
+ HINTS
+ ${PC_POPT_INCLUDEDIR}
+ ${PC_POPT_INCLUDE_DIRS}
+ DOC "Path containing the popt.h include file"
+ )
+
+FIND_LIBRARY(POPT_LIBRARY
+ NAMES popt
+ HINTS
+ ${PC_POPT_LIBRARYDIR}
+ ${PC_POPT_LIBRARY_DIRS}
+ DOC "popt library path"
+ )
+
+include(FindPackageHandleStandardArgs)
+
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(POPT
+ REQUIRED_VARS POPT_INCLUDE_DIR POPT_LIBRARY
+ VERSION_VAR PC_POPT_VERSION)
+
+MARK_AS_ADVANCED(POPT_INCLUDE_DIR POPT_LIBRARY)
diff --git a/librab/build/cmake/FindXmlTo.cmake b/librab/build/cmake/FindXmlTo.cmake
new file mode 100644
index 0000000..d2d4d63
--- /dev/null
+++ b/librab/build/cmake/FindXmlTo.cmake
@@ -0,0 +1,98 @@
+# - Convert XML docBook files to various formats
+# This will convert XML docBook files to various formats like:
+# man html txt dvi ps pdf
+# macro XMLTO(outfiles infiles... MODES modes...)
+
+find_program ( XMLTO_EXECUTABLE
+ NAMES xmlto
+ DOC "path to the xmlto docbook xslt frontend"
+)
+
+
+include(FindPackageHandleStandardArgs)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(XMLTO
+ REQUIRED_VARS XMLTO_EXECUTABLE)
+
+mark_as_advanced( XMLTO_EXECUTABLE )
+
+macro ( _XMLTO_FILE outfiles mode)
+ #special settings
+ set ( XMLTO_FILEEXT_man 1 )
+ set ( XMLTO_MODE_html xhtml-nochunks )
+
+ if ( NOT XMLTO_MODE_${mode})
+ set ( XMLTO_MODE_${mode} ${mode} )
+ endif ( NOT XMLTO_MODE_${mode} )
+ if ( NOT XMLTO_FILEEXT_${mode} )
+ set ( XMLTO_FILEEXT_${mode} ${mode} )
+ endif ( NOT XMLTO_FILEEXT_${mode} )
+
+ foreach ( dbFile ${ARGN} )
+ #TODO: set XMLTO_FILEEXT_man to value from
+ if ( "${mode}" STREQUAL "man" )
+ file ( READ "${dbFile}" _DB_FILE_CONTENTS )
+ string ( REGEX MATCH "[^<]*" XMLTO_FILEEXT_${mode} "${_DB_FILE_CONTENTS}" )
+ string ( REGEX REPLACE "^" "" XMLTO_FILEEXT_${mode} "${XMLTO_FILEEXT_${mode}}" )
+ string ( REGEX REPLACE "[[:space:]]" "" XMLTO_FILEEXT_${mode} "${XMLTO_FILEEXT_${mode}}" )
+ endif ( "${mode}" STREQUAL "man" )
+
+ get_filename_component ( dbFilePath ${CMAKE_CURRENT_BINARY_DIR}/${dbFile} PATH )
+ get_filename_component ( dbFileWE ${dbFile} NAME_WE )
+ get_filename_component ( dbFileAbsWE ${dbFilePath}/${dbFileWE} ABSOLUTE )
+
+ add_custom_command (
+ OUTPUT ${dbFileAbsWE}.${XMLTO_FILEEXT_${mode}}
+ COMMAND ${XMLTO_EXECUTABLE} ${XMLTO_COMMAND_ARGS} -o ${dbFilePath}
+ ${XMLTO_MODE_${mode}} "${CMAKE_CURRENT_SOURCE_DIR}/${dbFile}"
+ MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/${dbFile}
+ DEPENDS ${XMLTO_DEPENDS}
+ VERBATIM
+ )
+
+ set ( ${outfiles}
+ ${${outfiles}}
+ ${dbFileAbsWE}.${XMLTO_FILEEXT_${mode}}
+ )
+ endforeach ( dbFile )
+endmacro ( _XMLTO_FILE outfiles )
+
+macro ( XMLTO )
+ set ( XMLTO_MODES )
+ set ( XMLTO_FILES )
+ set ( XMLTO_HAS_MODES false )
+ set ( XMLTO_ADD_DEFAULT false )
+ foreach ( arg ${ARGN} )
+ if ( ${arg} STREQUAL "MODES" )
+ set ( XMLTO_HAS_MODES true )
+ elseif ( ${arg} STREQUAL "ALL" )
+ set ( XMLTO_ADD_DEFAULT true )
+ else ( ${arg} STREQUAL "MODES" )
+ if ( XMLTO_HAS_MODES )
+ set ( XMLTO_MODES ${XMLTO_MODES} ${arg} )
+ else ( XMLTO_HAS_MODES )
+ set ( XMLTO_FILES ${XMLTO_FILES} ${arg} )
+ endif ( XMLTO_HAS_MODES )
+ endif ( ${arg} STREQUAL "MODES" )
+ endforeach ( arg ${ARGN} )
+ if ( NOT XMLTO_MODES )
+ set ( XMLTO_MODES html )
+ endif ( NOT XMLTO_MODES )
+
+ foreach ( mode ${XMLTO_MODES} )
+ _xmlto_file ( XMLTO_FILES_${mode} ${mode} ${XMLTO_FILES} )
+ if ( XMLTO_ADD_DEFAULT )
+ add_custom_target ( ${mode} ALL
+ DEPENDS ${XMLTO_FILES_${mode}}
+ VERBATIM
+ )
+ else ( XMLTO_ADD_DEFAULT )
+ add_custom_target ( ${mode}
+ DEPENDS ${XMLTO_FILES_${mode}}
+ VERBATIM
+ )
+ endif ( XMLTO_ADD_DEFAULT )
+ endforeach ( mode )
+
+ set ( XMLTO_MODES )
+ set ( XMLTO_FILES )
+endmacro ( XMLTO )
diff --git a/librab/build/cmake/GNUInstallDirs.cmake b/librab/build/cmake/GNUInstallDirs.cmake
new file mode 100644
index 0000000..c8d77c6
--- /dev/null
+++ b/librab/build/cmake/GNUInstallDirs.cmake
@@ -0,0 +1,205 @@
+#.rst:
+# GNUInstallDirs
+# --------------
+#
+# Define GNU standard installation directories
+#
+# Provides install directory variables as defined for GNU software:
+#
+# ::
+#
+# http://www.gnu.org/prep/standards/html_node/Directory-Variables.html
+#
+# Inclusion of this module defines the following variables:
+#
+# ::
+#
+# CMAKE_INSTALL_ - destination for files of a given type
+# CMAKE_INSTALL_FULL_ - corresponding absolute path
+#
+# where is one of:
+#
+# ::
+#
+# BINDIR - user executables (bin)
+# SBINDIR - system admin executables (sbin)
+# LIBEXECDIR - program executables (libexec)
+# SYSCONFDIR - read-only single-machine data (etc)
+# SHAREDSTATEDIR - modifiable architecture-independent data (com)
+# LOCALSTATEDIR - modifiable single-machine data (var)
+# LIBDIR - object code libraries (lib or lib64 or lib/ on Debian)
+# INCLUDEDIR - C header files (include)
+# OLDINCLUDEDIR - C header files for non-gcc (/usr/include)
+# DATAROOTDIR - read-only architecture-independent data root (share)
+# DATADIR - read-only architecture-independent data (DATAROOTDIR)
+# INFODIR - info documentation (DATAROOTDIR/info)
+# LOCALEDIR - locale-dependent data (DATAROOTDIR/locale)
+# MANDIR - man documentation (DATAROOTDIR/man)
+# DOCDIR - documentation root (DATAROOTDIR/doc/PROJECT_NAME)
+#
+# Each CMAKE_INSTALL_ value may be passed to the DESTINATION
+# options of install() commands for the corresponding file type. If the
+# includer does not define a value the above-shown default will be used
+# and the value will appear in the cache for editing by the user. Each
+# CMAKE_INSTALL_FULL_ value contains an absolute path constructed
+# from the corresponding destination by prepending (if necessary) the
+# value of CMAKE_INSTALL_PREFIX.
+
+#=============================================================================
+# Copyright 2011 Nikita Krupen'ko
+# Copyright 2011 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distribute this file outside of CMake, substitute the full
+# License text for the above reference.)
+
+# Installation directories
+#
+if(NOT DEFINED CMAKE_INSTALL_BINDIR)
+ set(CMAKE_INSTALL_BINDIR "bin" CACHE PATH "user executables (bin)")
+endif()
+
+if(NOT DEFINED CMAKE_INSTALL_SBINDIR)
+ set(CMAKE_INSTALL_SBINDIR "sbin" CACHE PATH "system admin executables (sbin)")
+endif()
+
+if(NOT DEFINED CMAKE_INSTALL_LIBEXECDIR)
+ set(CMAKE_INSTALL_LIBEXECDIR "libexec" CACHE PATH "program executables (libexec)")
+endif()
+
+if(NOT DEFINED CMAKE_INSTALL_SYSCONFDIR)
+ set(CMAKE_INSTALL_SYSCONFDIR "etc" CACHE PATH "read-only single-machine data (etc)")
+endif()
+
+if(NOT DEFINED CMAKE_INSTALL_SHAREDSTATEDIR)
+ set(CMAKE_INSTALL_SHAREDSTATEDIR "com" CACHE PATH "modifiable architecture-independent data (com)")
+endif()
+
+if(NOT DEFINED CMAKE_INSTALL_LOCALSTATEDIR)
+ set(CMAKE_INSTALL_LOCALSTATEDIR "var" CACHE PATH "modifiable single-machine data (var)")
+endif()
+
+if(NOT DEFINED CMAKE_INSTALL_LIBDIR)
+ set(_LIBDIR_DEFAULT "lib")
+ # Override this default 'lib' with 'lib64' iff:
+ # - we are on Linux system but NOT cross-compiling
+ # - we are NOT on debian
+ # - we are on a 64 bits system
+ # reason is: amd64 ABI: http://www.x86-64.org/documentation/abi.pdf
+ # For Debian with multiarch, use 'lib/${CMAKE_LIBRARY_ARCHITECTURE}' if
+ # CMAKE_LIBRARY_ARCHITECTURE is set (which contains e.g. "i386-linux-gnu"
+ # See http://wiki.debian.org/Multiarch
+ if(CMAKE_SYSTEM_NAME MATCHES "Linux"
+ AND NOT CMAKE_CROSSCOMPILING)
+ if (EXISTS "/etc/debian_version") # is this a debian system ?
+ if(CMAKE_LIBRARY_ARCHITECTURE)
+ set(_LIBDIR_DEFAULT "lib/${CMAKE_LIBRARY_ARCHITECTURE}")
+ endif()
+ else() # not debian, rely on CMAKE_SIZEOF_VOID_P:
+ if(NOT DEFINED CMAKE_SIZEOF_VOID_P)
+ message(AUTHOR_WARNING
+ "Unable to determine default CMAKE_INSTALL_LIBDIR directory because no target architecture is known. "
+ "Please enable at least one language before including GNUInstallDirs.")
+ else()
+ if("${CMAKE_SIZEOF_VOID_P}" EQUAL "8")
+ set(_LIBDIR_DEFAULT "lib64")
+ endif()
+ endif()
+ endif()
+ endif()
+ set(CMAKE_INSTALL_LIBDIR "${_LIBDIR_DEFAULT}" CACHE PATH "object code libraries (${_LIBDIR_DEFAULT})")
+endif()
+
+if(NOT DEFINED CMAKE_INSTALL_INCLUDEDIR)
+ set(CMAKE_INSTALL_INCLUDEDIR "include" CACHE PATH "C header files (include)")
+endif()
+
+if(NOT DEFINED CMAKE_INSTALL_OLDINCLUDEDIR)
+ set(CMAKE_INSTALL_OLDINCLUDEDIR "/usr/include" CACHE PATH "C header files for non-gcc (/usr/include)")
+endif()
+
+if(NOT DEFINED CMAKE_INSTALL_DATAROOTDIR)
+ set(CMAKE_INSTALL_DATAROOTDIR "share" CACHE PATH "read-only architecture-independent data root (share)")
+endif()
+
+#-----------------------------------------------------------------------------
+# Values whose defaults are relative to DATAROOTDIR. Store empty values in
+# the cache and store the defaults in local variables if the cache values are
+# not set explicitly. This auto-updates the defaults as DATAROOTDIR changes.
+
+if(NOT CMAKE_INSTALL_DATADIR)
+ set(CMAKE_INSTALL_DATADIR "" CACHE PATH "read-only architecture-independent data (DATAROOTDIR)")
+ set(CMAKE_INSTALL_DATADIR "${CMAKE_INSTALL_DATAROOTDIR}")
+endif()
+
+if(NOT CMAKE_INSTALL_INFODIR)
+ set(CMAKE_INSTALL_INFODIR "" CACHE PATH "info documentation (DATAROOTDIR/info)")
+ set(CMAKE_INSTALL_INFODIR "${CMAKE_INSTALL_DATAROOTDIR}/info")
+endif()
+
+if(NOT CMAKE_INSTALL_LOCALEDIR)
+ set(CMAKE_INSTALL_LOCALEDIR "" CACHE PATH "locale-dependent data (DATAROOTDIR/locale)")
+ set(CMAKE_INSTALL_LOCALEDIR "${CMAKE_INSTALL_DATAROOTDIR}/locale")
+endif()
+
+if(NOT CMAKE_INSTALL_MANDIR)
+ set(CMAKE_INSTALL_MANDIR "" CACHE PATH "man documentation (DATAROOTDIR/man)")
+ set(CMAKE_INSTALL_MANDIR "${CMAKE_INSTALL_DATAROOTDIR}/man")
+endif()
+
+if(NOT CMAKE_INSTALL_DOCDIR)
+ set(CMAKE_INSTALL_DOCDIR "" CACHE PATH "documentation root (DATAROOTDIR/doc/PROJECT_NAME)")
+ set(CMAKE_INSTALL_DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}")
+endif()
+
+#-----------------------------------------------------------------------------
+
+mark_as_advanced(
+ CMAKE_INSTALL_BINDIR
+ CMAKE_INSTALL_SBINDIR
+ CMAKE_INSTALL_LIBEXECDIR
+ CMAKE_INSTALL_SYSCONFDIR
+ CMAKE_INSTALL_SHAREDSTATEDIR
+ CMAKE_INSTALL_LOCALSTATEDIR
+ CMAKE_INSTALL_LIBDIR
+ CMAKE_INSTALL_INCLUDEDIR
+ CMAKE_INSTALL_OLDINCLUDEDIR
+ CMAKE_INSTALL_DATAROOTDIR
+ CMAKE_INSTALL_DATADIR
+ CMAKE_INSTALL_INFODIR
+ CMAKE_INSTALL_LOCALEDIR
+ CMAKE_INSTALL_MANDIR
+ CMAKE_INSTALL_DOCDIR
+ )
+
+# Result directories
+#
+foreach(dir
+ BINDIR
+ SBINDIR
+ LIBEXECDIR
+ SYSCONFDIR
+ SHAREDSTATEDIR
+ LOCALSTATEDIR
+ LIBDIR
+ INCLUDEDIR
+ OLDINCLUDEDIR
+ DATAROOTDIR
+ DATADIR
+ INFODIR
+ LOCALEDIR
+ MANDIR
+ DOCDIR
+ )
+ if(NOT IS_ABSOLUTE ${CMAKE_INSTALL_${dir}})
+ set(CMAKE_INSTALL_FULL_${dir} "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_${dir}}")
+ else()
+ set(CMAKE_INSTALL_FULL_${dir} "${CMAKE_INSTALL_${dir}}")
+ endif()
+endforeach()
diff --git a/librab/build/cmake/TestCInline.cmake b/librab/build/cmake/TestCInline.cmake
new file mode 100644
index 0000000..6343646
--- /dev/null
+++ b/librab/build/cmake/TestCInline.cmake
@@ -0,0 +1,28 @@
+#Inspired from http://www.cmake.org/Wiki/CMakeTestInline
+
+IF(NOT DEFINED C_INLINE_KEYWORD)
+
+ SET(INLINE_TEST_SRC "/* Inspired by autoconf's c.m4 */
+static inline int static_foo() {return 0\;}
+int main(int argc, char *argv[]){return 0\;}
+")
+
+ FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/CMakeTestCInline.c ${INLINE_TEST_SRC})
+
+ FOREACH(KEYWORD "inline" "__inline__" "__inline")
+ IF(NOT DEFINED C_INLINE)
+ TRY_COMPILE(C_HAS_${KEYWORD}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}/CMakeTestCInline.c
+ COMPILE_DEFINITIONS "-Dinline=${KEYWORD}"
+ )
+ IF(C_HAS_${KEYWORD})
+ SET(C_INLINE ${KEYWORD})
+ ENDIF(C_HAS_${KEYWORD})
+ ENDIF(NOT DEFINED C_INLINE)
+ ENDFOREACH(KEYWORD)
+
+ SET(C_INLINE_KEYWORD ${C_INLINE} CACHE INTERNAL "The keyword needed by the C compiler to inline a function" FORCE)
+ message(STATUS "Found C inline keyword: ${C_INLINE_KEYWORD}")
+
+ENDIF(NOT DEFINED C_INLINE_KEYWORD)
diff --git a/librab/build/cmake/config.h.in b/librab/build/cmake/config.h.in
new file mode 100644
index 0000000..ab49d5f
--- /dev/null
+++ b/librab/build/cmake/config.h.in
@@ -0,0 +1,14 @@
+#ifndef CONFIG_H
+#define CONFIG_H
+
+#ifndef __cplusplus
+# define inline ${C_INLINE_KEYWORD}
+#endif
+
+#cmakedefine HAVE_SELECT
+
+#cmakedefine HAVE_POLL
+
+#define AMQ_PLATFORM "@CMAKE_SYSTEM_NAME@"
+
+#endif /* CONFIG_H */
diff --git a/librab/build/cmake_install.cmake b/librab/build/cmake_install.cmake
new file mode 100644
index 0000000..8156e5d
--- /dev/null
+++ b/librab/build/cmake_install.cmake
@@ -0,0 +1,56 @@
+# Install script for directory: /home2/tcs/librab/build
+
+# Set the install prefix
+IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
+ SET(CMAKE_INSTALL_PREFIX "/usr")
+ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
+STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+
+# Set the install configuration name.
+IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
+ IF(BUILD_TYPE)
+ STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
+ CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
+ ELSE(BUILD_TYPE)
+ SET(CMAKE_INSTALL_CONFIG_NAME "Release")
+ ENDIF(BUILD_TYPE)
+ MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
+ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
+
+# Set the component getting installed.
+IF(NOT CMAKE_INSTALL_COMPONENT)
+ IF(COMPONENT)
+ MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
+ SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
+ ELSE(COMPONENT)
+ SET(CMAKE_INSTALL_COMPONENT)
+ ENDIF(COMPONENT)
+ENDIF(NOT CMAKE_INSTALL_COMPONENT)
+
+# Install shared libraries without execute permission?
+IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
+ SET(CMAKE_INSTALL_SO_NO_EXE "0")
+ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
+
+IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+ FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib64/pkgconfig" TYPE FILE FILES "/home2/tcs/librab/build/librabbitmq.pc")
+ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+
+IF(NOT CMAKE_INSTALL_LOCAL_ONLY)
+ # Include the install script for each subdirectory.
+ INCLUDE("/home2/tcs/librab/build/librabbitmq/cmake_install.cmake")
+ INCLUDE("/home2/tcs/librab/build/examples/cmake_install.cmake")
+ INCLUDE("/home2/tcs/librab/build/tests/cmake_install.cmake")
+
+ENDIF(NOT CMAKE_INSTALL_LOCAL_ONLY)
+
+IF(CMAKE_INSTALL_COMPONENT)
+ SET(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
+ELSE(CMAKE_INSTALL_COMPONENT)
+ SET(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
+ENDIF(CMAKE_INSTALL_COMPONENT)
+
+FILE(WRITE "/home2/tcs/librab/build/${CMAKE_INSTALL_MANIFEST}" "")
+FOREACH(file ${CMAKE_INSTALL_MANIFEST_FILES})
+ FILE(APPEND "/home2/tcs/librab/build/${CMAKE_INSTALL_MANIFEST}" "${file}\n")
+ENDFOREACH(file)
diff --git a/librab/build/coverity/model.c b/librab/build/coverity/model.c
new file mode 100644
index 0000000..dc1ad98
--- /dev/null
+++ b/librab/build/coverity/model.c
@@ -0,0 +1,17 @@
+/* Functions to help coverity do static analysis on rabbitmq-c */
+
+typedef struct {
+} amqp_rpc_reply_t;
+
+/* librabbitmq/amqp_private.h */
+void amqp_abort(const char* fmt, ...) { __coverity_panic__(); }
+
+/* tools/common.h */
+void die(const char* fmt, ...) { __coverity_panic__(); }
+void die_errno(int err, const char* fmt, ...) { __coverity_panic__(); }
+void die_amqp_error(int err, const char* fmt, ...) { __coverity_panic__(); }
+void die_rpc(amqp_rpc_reply_t r, const char* fmt, ...) { __coverity_panic__(); }
+
+/* examples/utils.h */
+void die_on_amqp_error(amqp_rpc_reply_t* r) { __coverity_panic__(); }
+void die_on_error(int r) { __coverity_panic__(); }
diff --git a/librab/build/docs/Doxyfile.in b/librab/build/docs/Doxyfile.in
new file mode 100644
index 0000000..8b5da70
--- /dev/null
+++ b/librab/build/docs/Doxyfile.in
@@ -0,0 +1,317 @@
+# Doxyfile 1.8.4
+
+#---------------------------------------------------------------------------
+# Project related configuration options
+#---------------------------------------------------------------------------
+DOXYFILE_ENCODING = UTF-8
+PROJECT_NAME = rabbitmq-c
+PROJECT_NUMBER = @VERSION@
+PROJECT_BRIEF = "C AMQP Client library for RabbitMQ"
+PROJECT_LOGO =
+OUTPUT_DIRECTORY = .
+CREATE_SUBDIRS = NO
+OUTPUT_LANGUAGE = English
+BRIEF_MEMBER_DESC = YES
+REPEAT_BRIEF = YES
+ABBREVIATE_BRIEF =
+ALWAYS_DETAILED_SEC = NO
+INLINE_INHERITED_MEMB = NO
+FULL_PATH_NAMES = NO
+STRIP_FROM_PATH =
+STRIP_FROM_INC_PATH =
+SHORT_NAMES = NO
+JAVADOC_AUTOBRIEF = YES
+QT_AUTOBRIEF = NO
+MULTILINE_CPP_IS_BRIEF = NO
+INHERIT_DOCS = YES
+SEPARATE_MEMBER_PAGES = NO
+TAB_SIZE = 2
+ALIASES =
+TCL_SUBST =
+OPTIMIZE_OUTPUT_FOR_C = YES
+OPTIMIZE_OUTPUT_JAVA = NO
+OPTIMIZE_FOR_FORTRAN = NO
+OPTIMIZE_OUTPUT_VHDL = NO
+EXTENSION_MAPPING =
+MARKDOWN_SUPPORT = YES
+AUTOLINK_SUPPORT = YES
+BUILTIN_STL_SUPPORT = NO
+CPP_CLI_SUPPORT = NO
+SIP_SUPPORT = NO
+IDL_PROPERTY_SUPPORT = YES
+DISTRIBUTE_GROUP_DOC = NO
+SUBGROUPING = YES
+INLINE_GROUPED_CLASSES = NO
+INLINE_SIMPLE_STRUCTS = NO
+TYPEDEF_HIDES_STRUCT = YES
+LOOKUP_CACHE_SIZE = 0
+#---------------------------------------------------------------------------
+# Build related configuration options
+#---------------------------------------------------------------------------
+EXTRACT_ALL = NO
+EXTRACT_PRIVATE = NO
+EXTRACT_PACKAGE = NO
+EXTRACT_STATIC = NO
+EXTRACT_LOCAL_CLASSES = YES
+EXTRACT_LOCAL_METHODS = NO
+EXTRACT_ANON_NSPACES = NO
+HIDE_UNDOC_MEMBERS = NO
+HIDE_UNDOC_CLASSES = NO
+HIDE_FRIEND_COMPOUNDS = NO
+HIDE_IN_BODY_DOCS = NO
+INTERNAL_DOCS = NO
+CASE_SENSE_NAMES = NO
+HIDE_SCOPE_NAMES = NO
+SHOW_INCLUDE_FILES = NO
+FORCE_LOCAL_INCLUDES = NO
+INLINE_INFO = YES
+SORT_MEMBER_DOCS = YES
+SORT_BRIEF_DOCS = NO
+SORT_MEMBERS_CTORS_1ST = NO
+SORT_GROUP_NAMES = NO
+SORT_BY_SCOPE_NAME = NO
+STRICT_PROTO_MATCHING = NO
+GENERATE_TODOLIST = YES
+GENERATE_TESTLIST = YES
+GENERATE_BUGLIST = YES
+GENERATE_DEPRECATEDLIST= YES
+ENABLED_SECTIONS =
+MAX_INITIALIZER_LINES = 30
+SHOW_USED_FILES = YES
+SHOW_FILES = YES
+SHOW_NAMESPACES = YES
+FILE_VERSION_FILTER =
+LAYOUT_FILE =
+CITE_BIB_FILES =
+#---------------------------------------------------------------------------
+# configuration options related to warning and progress messages
+#---------------------------------------------------------------------------
+QUIET = NO
+WARNINGS = YES
+WARN_IF_UNDOCUMENTED = YES
+WARN_IF_DOC_ERROR = YES
+WARN_NO_PARAMDOC = NO
+WARN_FORMAT = "$file:$line: $text"
+WARN_LOGFILE =
+#---------------------------------------------------------------------------
+# configuration options related to the input files
+#---------------------------------------------------------------------------
+INPUT = @CMAKE_CURRENT_SOURCE_DIR@/README.md \
+ @CMAKE_CURRENT_SOURCE_DIR@/ChangeLog.md \
+ @CMAKE_CURRENT_SOURCE_DIR@/librabbitmq \
+ @CMAKE_CURRENT_SOURCE_DIR@/docs
+INPUT_ENCODING = UTF-8
+FILE_PATTERNS = *.h \
+ *.md
+RECURSIVE = NO
+EXCLUDE =
+EXCLUDE_SYMLINKS = NO
+EXCLUDE_PATTERNS = amqp_private.h \
+ config.h
+EXCLUDE_SYMBOLS =
+EXAMPLE_PATH = @CMAKE_CURRENT_SOURCE_DIR@ \
+ @CMAKE_CURRENT_SOURCE_DIR@/examples
+EXAMPLE_PATTERNS = *.c \
+ *.md
+EXAMPLE_RECURSIVE = NO
+IMAGE_PATH =
+INPUT_FILTER =
+FILTER_PATTERNS =
+FILTER_SOURCE_FILES = NO
+FILTER_SOURCE_PATTERNS =
+USE_MDFILE_AS_MAINPAGE = README.md
+#---------------------------------------------------------------------------
+# configuration options related to source browsing
+#---------------------------------------------------------------------------
+SOURCE_BROWSER = NO
+INLINE_SOURCES = NO
+STRIP_CODE_COMMENTS = YES
+REFERENCED_BY_RELATION = NO
+REFERENCES_RELATION = NO
+REFERENCES_LINK_SOURCE = YES
+USE_HTAGS = NO
+VERBATIM_HEADERS = YES
+#---------------------------------------------------------------------------
+# configuration options related to the alphabetical class index
+#---------------------------------------------------------------------------
+ALPHABETICAL_INDEX = YES
+COLS_IN_ALPHA_INDEX = 5
+IGNORE_PREFIX = amqp_
+#---------------------------------------------------------------------------
+# configuration options related to the HTML output
+#---------------------------------------------------------------------------
+GENERATE_HTML = YES
+HTML_OUTPUT = html
+HTML_FILE_EXTENSION = .html
+HTML_HEADER =
+HTML_FOOTER =
+HTML_STYLESHEET =
+HTML_EXTRA_STYLESHEET =
+HTML_EXTRA_FILES =
+HTML_COLORSTYLE_HUE = 220
+HTML_COLORSTYLE_SAT = 100
+HTML_COLORSTYLE_GAMMA = 80
+HTML_TIMESTAMP = YES
+HTML_DYNAMIC_SECTIONS = NO
+HTML_INDEX_NUM_ENTRIES = 100
+GENERATE_DOCSET = NO
+DOCSET_FEEDNAME = "Doxygen generated docs"
+DOCSET_BUNDLE_ID = org.doxygen.Project
+DOCSET_PUBLISHER_ID = org.doxygen.Publisher
+DOCSET_PUBLISHER_NAME = Publisher
+GENERATE_HTMLHELP = NO
+CHM_FILE =
+HHC_LOCATION =
+GENERATE_CHI = NO
+CHM_INDEX_ENCODING =
+BINARY_TOC = NO
+TOC_EXPAND = NO
+GENERATE_QHP = NO
+QCH_FILE =
+QHP_NAMESPACE = org.doxygen.Project
+QHP_VIRTUAL_FOLDER = doc
+QHP_CUST_FILTER_NAME =
+QHP_CUST_FILTER_ATTRS =
+QHP_SECT_FILTER_ATTRS =
+QHG_LOCATION =
+GENERATE_ECLIPSEHELP = NO
+ECLIPSE_DOC_ID = org.doxygen.Project
+DISABLE_INDEX = NO
+GENERATE_TREEVIEW = NO
+ENUM_VALUES_PER_LINE = 4
+TREEVIEW_WIDTH = 250
+EXT_LINKS_IN_WINDOW = NO
+FORMULA_FONTSIZE = 10
+FORMULA_TRANSPARENT = YES
+USE_MATHJAX = NO
+MATHJAX_FORMAT = HTML-CSS
+MATHJAX_RELPATH = http://www.mathjax.org/mathjax
+MATHJAX_EXTENSIONS =
+MATHJAX_CODEFILE =
+SEARCHENGINE = YES
+SERVER_BASED_SEARCH = NO
+EXTERNAL_SEARCH = NO
+SEARCHENGINE_URL =
+SEARCHDATA_FILE = searchdata.xml
+EXTERNAL_SEARCH_ID =
+EXTRA_SEARCH_MAPPINGS =
+#---------------------------------------------------------------------------
+# configuration options related to the LaTeX output
+#---------------------------------------------------------------------------
+GENERATE_LATEX = NO
+LATEX_OUTPUT = latex
+LATEX_CMD_NAME = latex
+MAKEINDEX_CMD_NAME = makeindex
+COMPACT_LATEX = NO
+PAPER_TYPE = a4
+EXTRA_PACKAGES =
+LATEX_HEADER =
+LATEX_FOOTER =
+LATEX_EXTRA_FILES =
+PDF_HYPERLINKS = YES
+USE_PDFLATEX = YES
+LATEX_BATCHMODE = NO
+LATEX_HIDE_INDICES = NO
+LATEX_SOURCE_CODE = NO
+LATEX_BIB_STYLE = plain
+#---------------------------------------------------------------------------
+# configuration options related to the RTF output
+#---------------------------------------------------------------------------
+GENERATE_RTF = NO
+RTF_OUTPUT = rtf
+COMPACT_RTF = NO
+RTF_HYPERLINKS = NO
+RTF_STYLESHEET_FILE =
+RTF_EXTENSIONS_FILE =
+#---------------------------------------------------------------------------
+# configuration options related to the man page output
+#---------------------------------------------------------------------------
+GENERATE_MAN = NO
+MAN_OUTPUT = man
+MAN_EXTENSION = .3
+MAN_LINKS = NO
+#---------------------------------------------------------------------------
+# configuration options related to the XML output
+#---------------------------------------------------------------------------
+GENERATE_XML = NO
+XML_OUTPUT = xml
+XML_SCHEMA =
+XML_DTD =
+XML_PROGRAMLISTING = YES
+#---------------------------------------------------------------------------
+# configuration options related to the DOCBOOK output
+#---------------------------------------------------------------------------
+GENERATE_DOCBOOK = NO
+DOCBOOK_OUTPUT = docbook
+#---------------------------------------------------------------------------
+# configuration options for the AutoGen Definitions output
+#---------------------------------------------------------------------------
+GENERATE_AUTOGEN_DEF = NO
+#---------------------------------------------------------------------------
+# configuration options related to the Perl module output
+#---------------------------------------------------------------------------
+GENERATE_PERLMOD = NO
+PERLMOD_LATEX = NO
+PERLMOD_PRETTY = YES
+PERLMOD_MAKEVAR_PREFIX =
+#---------------------------------------------------------------------------
+# Configuration options related to the preprocessor
+#---------------------------------------------------------------------------
+ENABLE_PREPROCESSING = YES
+MACRO_EXPANSION = YES
+EXPAND_ONLY_PREDEF = NO
+SEARCH_INCLUDES = YES
+INCLUDE_PATH = @CMAKE_CURRENT_SOURCE_DIR@/librabbitmq \
+ @CMAKE_CURRENT_BINARY_DIR@/librabbitmq
+INCLUDE_FILE_PATTERNS =
+PREDEFINED = AMQP_BEGIN_DECLS= \
+ AMQP_END_DECLS= \
+ AMQP_PUBLIC_FUNCTION= \
+ AMQP_PUBLIC_VARIABLE= \
+ AMQP_CALL= \
+ AMQP_DEPRECATED(x)=x
+EXPAND_AS_DEFINED =
+SKIP_FUNCTION_MACROS = YES
+#---------------------------------------------------------------------------
+# Configuration::additions related to external references
+#---------------------------------------------------------------------------
+TAGFILES =
+GENERATE_TAGFILE =
+ALLEXTERNALS = NO
+EXTERNAL_GROUPS = YES
+EXTERNAL_PAGES = YES
+PERL_PATH = /usr/bin/perl
+#---------------------------------------------------------------------------
+# Configuration options related to the dot tool
+#---------------------------------------------------------------------------
+CLASS_DIAGRAMS = YES
+MSCGEN_PATH =
+HIDE_UNDOC_RELATIONS = YES
+HAVE_DOT = NO
+DOT_NUM_THREADS = 0
+DOT_FONTNAME = Helvetica
+DOT_FONTSIZE = 10
+DOT_FONTPATH =
+CLASS_GRAPH = YES
+COLLABORATION_GRAPH = YES
+GROUP_GRAPHS = YES
+UML_LOOK = NO
+UML_LIMIT_NUM_FIELDS = 10
+TEMPLATE_RELATIONS = NO
+INCLUDE_GRAPH = YES
+INCLUDED_BY_GRAPH = YES
+CALL_GRAPH = NO
+CALLER_GRAPH = NO
+GRAPHICAL_HIERARCHY = YES
+DIRECTORY_GRAPH = YES
+DOT_IMAGE_FORMAT = png
+INTERACTIVE_SVG = NO
+DOT_PATH =
+DOTFILE_DIRS =
+MSCFILE_DIRS =
+DOT_GRAPH_MAX_NODES = 50
+MAX_DOT_GRAPH_DEPTH = 0
+DOT_TRANSPARENT = NO
+DOT_MULTI_TARGETS = NO
+GENERATE_LEGEND = YES
+DOT_CLEANUP = YES
diff --git a/librab/build/examples/CMakeFiles/CMakeDirectoryInformation.cmake b/librab/build/examples/CMakeFiles/CMakeDirectoryInformation.cmake
new file mode 100644
index 0000000..44e562e
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/CMakeDirectoryInformation.cmake
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# Relative path conversion top directories.
+SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home2/tcs/librab/build")
+SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home2/tcs/librab/build")
+
+# Force unix paths in dependencies.
+SET(CMAKE_FORCE_UNIX_PATHS 1)
+
+
+# The C and CXX include file regular expressions for this directory.
+SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
+SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
+SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
+SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
diff --git a/librab/build/examples/CMakeFiles/amqp_bind.dir/C.includecache b/librab/build/examples/CMakeFiles/amqp_bind.dir/C.includecache
new file mode 100644
index 0000000..bbabfe9
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_bind.dir/C.includecache
@@ -0,0 +1,74 @@
+#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
+
+#IncludeRegexScan: ^.*$
+
+#IncludeRegexComplain: ^$
+
+#IncludeRegexTransform:
+
+/home2/tcs/librab/build/examples/amqp_bind.c
+stdint.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_tcp_socket.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/unix/platform_utils.c
+stdint.h
+-
+sys/time.h
+-
+time.h
+-
+unistd.h
+-
+
+/home2/tcs/librab/build/examples/utils.c
+ctype.h
+-
+stdarg.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_framing.h
+-
+stdint.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/utils.h
+
+librabbitmq/amqp.h
+sys/types.h
+-
+stddef.h
+-
+stdint.h
+-
+amqp_framing.h
+-
+
+librabbitmq/amqp_framing.h
+amqp.h
+-
+
+librabbitmq/amqp_tcp_socket.h
+amqp.h
+-
+
diff --git a/librab/build/examples/CMakeFiles/amqp_bind.dir/DependInfo.cmake b/librab/build/examples/CMakeFiles/amqp_bind.dir/DependInfo.cmake
new file mode 100644
index 0000000..9cbbad9
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_bind.dir/DependInfo.cmake
@@ -0,0 +1,25 @@
+# The set of languages for which implicit dependencies are needed:
+SET(CMAKE_DEPENDS_LANGUAGES
+ "C"
+ )
+# The set of files for implicit dependencies of each language:
+SET(CMAKE_DEPENDS_CHECK_C
+ "/home2/tcs/librab/build/examples/amqp_bind.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.o"
+ "/home2/tcs/librab/build/examples/unix/platform_utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_bind.dir/unix/platform_utils.c.o"
+ "/home2/tcs/librab/build/examples/utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_bind.dir/utils.c.o"
+ )
+SET(CMAKE_C_COMPILER_ID "GNU")
+
+# Targets to which this target links.
+SET(CMAKE_TARGET_LINKED_INFO_FILES
+ "/home2/tcs/librab/build/librabbitmq/CMakeFiles/rabbitmq.dir/DependInfo.cmake"
+ )
+
+# The include file search paths:
+SET(CMAKE_C_TARGET_INCLUDE_PATH
+ "librabbitmq"
+ "examples/unix"
+ )
+SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/librab/build/examples/CMakeFiles/amqp_bind.dir/build.make b/librab/build/examples/CMakeFiles/amqp_bind.dir/build.make
new file mode 100644
index 0000000..9a7f601
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_bind.dir/build.make
@@ -0,0 +1,160 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The program to use to edit the cache.
+CMAKE_EDIT_COMMAND = /usr/bin/ccmake
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home2/tcs/librab/build
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home2/tcs/librab/build
+
+# Include any dependencies generated for this target.
+include examples/CMakeFiles/amqp_bind.dir/depend.make
+
+# Include the progress variables for this target.
+include examples/CMakeFiles/amqp_bind.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include examples/CMakeFiles/amqp_bind.dir/flags.make
+
+examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.o: examples/CMakeFiles/amqp_bind.dir/flags.make
+examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.o: examples/amqp_bind.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_1)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_bind.dir/amqp_bind.c.o -c /home2/tcs/librab/build/examples/amqp_bind.c
+
+examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_bind.dir/amqp_bind.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/amqp_bind.c > CMakeFiles/amqp_bind.dir/amqp_bind.c.i
+
+examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_bind.dir/amqp_bind.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/amqp_bind.c -o CMakeFiles/amqp_bind.dir/amqp_bind.c.s
+
+examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.o.requires
+
+examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.o.provides: examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_bind.dir/build.make examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.o.provides
+
+examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.o.provides.build: examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.o
+
+examples/CMakeFiles/amqp_bind.dir/utils.c.o: examples/CMakeFiles/amqp_bind.dir/flags.make
+examples/CMakeFiles/amqp_bind.dir/utils.c.o: examples/utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_2)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_bind.dir/utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_bind.dir/utils.c.o -c /home2/tcs/librab/build/examples/utils.c
+
+examples/CMakeFiles/amqp_bind.dir/utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_bind.dir/utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/utils.c > CMakeFiles/amqp_bind.dir/utils.c.i
+
+examples/CMakeFiles/amqp_bind.dir/utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_bind.dir/utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/utils.c -o CMakeFiles/amqp_bind.dir/utils.c.s
+
+examples/CMakeFiles/amqp_bind.dir/utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_bind.dir/utils.c.o.requires
+
+examples/CMakeFiles/amqp_bind.dir/utils.c.o.provides: examples/CMakeFiles/amqp_bind.dir/utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_bind.dir/build.make examples/CMakeFiles/amqp_bind.dir/utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_bind.dir/utils.c.o.provides
+
+examples/CMakeFiles/amqp_bind.dir/utils.c.o.provides.build: examples/CMakeFiles/amqp_bind.dir/utils.c.o
+
+examples/CMakeFiles/amqp_bind.dir/unix/platform_utils.c.o: examples/CMakeFiles/amqp_bind.dir/flags.make
+examples/CMakeFiles/amqp_bind.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_3)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_bind.dir/unix/platform_utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_bind.dir/unix/platform_utils.c.o -c /home2/tcs/librab/build/examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_bind.dir/unix/platform_utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_bind.dir/unix/platform_utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/unix/platform_utils.c > CMakeFiles/amqp_bind.dir/unix/platform_utils.c.i
+
+examples/CMakeFiles/amqp_bind.dir/unix/platform_utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_bind.dir/unix/platform_utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/unix/platform_utils.c -o CMakeFiles/amqp_bind.dir/unix/platform_utils.c.s
+
+examples/CMakeFiles/amqp_bind.dir/unix/platform_utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_bind.dir/unix/platform_utils.c.o.requires
+
+examples/CMakeFiles/amqp_bind.dir/unix/platform_utils.c.o.provides: examples/CMakeFiles/amqp_bind.dir/unix/platform_utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_bind.dir/build.make examples/CMakeFiles/amqp_bind.dir/unix/platform_utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_bind.dir/unix/platform_utils.c.o.provides
+
+examples/CMakeFiles/amqp_bind.dir/unix/platform_utils.c.o.provides.build: examples/CMakeFiles/amqp_bind.dir/unix/platform_utils.c.o
+
+# Object files for target amqp_bind
+amqp_bind_OBJECTS = \
+"CMakeFiles/amqp_bind.dir/amqp_bind.c.o" \
+"CMakeFiles/amqp_bind.dir/utils.c.o" \
+"CMakeFiles/amqp_bind.dir/unix/platform_utils.c.o"
+
+# External object files for target amqp_bind
+amqp_bind_EXTERNAL_OBJECTS =
+
+examples/amqp_bind: examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.o
+examples/amqp_bind: examples/CMakeFiles/amqp_bind.dir/utils.c.o
+examples/amqp_bind: examples/CMakeFiles/amqp_bind.dir/unix/platform_utils.c.o
+examples/amqp_bind: examples/CMakeFiles/amqp_bind.dir/build.make
+examples/amqp_bind: librabbitmq/librabbitmq.so.4.3.1
+examples/amqp_bind: /usr/lib64/libssl.so
+examples/amqp_bind: /usr/lib64/libcrypto.so
+examples/amqp_bind: examples/CMakeFiles/amqp_bind.dir/link.txt
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking C executable amqp_bind"
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/amqp_bind.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+examples/CMakeFiles/amqp_bind.dir/build: examples/amqp_bind
+.PHONY : examples/CMakeFiles/amqp_bind.dir/build
+
+examples/CMakeFiles/amqp_bind.dir/requires: examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.o.requires
+examples/CMakeFiles/amqp_bind.dir/requires: examples/CMakeFiles/amqp_bind.dir/utils.c.o.requires
+examples/CMakeFiles/amqp_bind.dir/requires: examples/CMakeFiles/amqp_bind.dir/unix/platform_utils.c.o.requires
+.PHONY : examples/CMakeFiles/amqp_bind.dir/requires
+
+examples/CMakeFiles/amqp_bind.dir/clean:
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -P CMakeFiles/amqp_bind.dir/cmake_clean.cmake
+.PHONY : examples/CMakeFiles/amqp_bind.dir/clean
+
+examples/CMakeFiles/amqp_bind.dir/depend:
+ cd /home2/tcs/librab/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build/examples/CMakeFiles/amqp_bind.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : examples/CMakeFiles/amqp_bind.dir/depend
+
diff --git a/librab/build/examples/CMakeFiles/amqp_bind.dir/cmake_clean.cmake b/librab/build/examples/CMakeFiles/amqp_bind.dir/cmake_clean.cmake
new file mode 100644
index 0000000..69552cd
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_bind.dir/cmake_clean.cmake
@@ -0,0 +1,12 @@
+FILE(REMOVE_RECURSE
+ "CMakeFiles/amqp_bind.dir/amqp_bind.c.o"
+ "CMakeFiles/amqp_bind.dir/utils.c.o"
+ "CMakeFiles/amqp_bind.dir/unix/platform_utils.c.o"
+ "amqp_bind.pdb"
+ "amqp_bind"
+)
+
+# Per-language clean rules from dependency scanning.
+FOREACH(lang C)
+ INCLUDE(CMakeFiles/amqp_bind.dir/cmake_clean_${lang}.cmake OPTIONAL)
+ENDFOREACH(lang)
diff --git a/librab/build/examples/CMakeFiles/amqp_bind.dir/depend.internal b/librab/build/examples/CMakeFiles/amqp_bind.dir/depend.internal
new file mode 100644
index 0000000..21073ad
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_bind.dir/depend.internal
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.o
+ /home2/tcs/librab/build/examples/amqp_bind.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
+ librabbitmq/amqp_tcp_socket.h
+examples/CMakeFiles/amqp_bind.dir/unix/platform_utils.c.o
+ /home2/tcs/librab/build/examples/unix/platform_utils.c
+examples/CMakeFiles/amqp_bind.dir/utils.c.o
+ /home2/tcs/librab/build/examples/utils.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
diff --git a/librab/build/examples/CMakeFiles/amqp_bind.dir/depend.make b/librab/build/examples/CMakeFiles/amqp_bind.dir/depend.make
new file mode 100644
index 0000000..0d7afee
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_bind.dir/depend.make
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.o: examples/amqp_bind.c
+examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.o: examples/utils.h
+examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.o: librabbitmq/amqp_framing.h
+examples/CMakeFiles/amqp_bind.dir/amqp_bind.c.o: librabbitmq/amqp_tcp_socket.h
+
+examples/CMakeFiles/amqp_bind.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_bind.dir/utils.c.o: examples/utils.c
+examples/CMakeFiles/amqp_bind.dir/utils.c.o: examples/utils.h
+examples/CMakeFiles/amqp_bind.dir/utils.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_bind.dir/utils.c.o: librabbitmq/amqp_framing.h
+
diff --git a/librab/build/examples/CMakeFiles/amqp_bind.dir/flags.make b/librab/build/examples/CMakeFiles/amqp_bind.dir/flags.make
new file mode 100644
index 0000000..b3d348b
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_bind.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# compile C with /bin/cc
+C_FLAGS = -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG -I/home2/tcs/librab/build/librabbitmq -I/home2/tcs/librab/build/examples/unix
+
+C_DEFINES =
+
diff --git a/librab/build/examples/CMakeFiles/amqp_bind.dir/link.txt b/librab/build/examples/CMakeFiles/amqp_bind.dir/link.txt
new file mode 100644
index 0000000..1ef0346
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_bind.dir/link.txt
@@ -0,0 +1 @@
+/bin/cc -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG CMakeFiles/amqp_bind.dir/amqp_bind.c.o CMakeFiles/amqp_bind.dir/utils.c.o CMakeFiles/amqp_bind.dir/unix/platform_utils.c.o -o amqp_bind -rdynamic ../librabbitmq/librabbitmq.so.4.3.1 -lssl -lcrypto -lrt -lpthread -Wl,-rpath,/home2/tcs/librab/build/librabbitmq
diff --git a/librab/build/examples/CMakeFiles/amqp_bind.dir/progress.make b/librab/build/examples/CMakeFiles/amqp_bind.dir/progress.make
new file mode 100644
index 0000000..6a9dc74
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_bind.dir/progress.make
@@ -0,0 +1,4 @@
+CMAKE_PROGRESS_1 = 1
+CMAKE_PROGRESS_2 = 2
+CMAKE_PROGRESS_3 = 3
+
diff --git a/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/C.includecache b/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/C.includecache
new file mode 100644
index 0000000..388b662
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/C.includecache
@@ -0,0 +1,80 @@
+#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
+
+#IncludeRegexScan: ^.*$
+
+#IncludeRegexComplain: ^$
+
+#IncludeRegexTransform:
+
+/home2/tcs/librab/build/examples/amqp_connect_timeout.c
+stdint.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_tcp_socket.h
+-
+assert.h
+-
+Winsock2.h
+-
+sys/time.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/unix/platform_utils.c
+stdint.h
+-
+sys/time.h
+-
+time.h
+-
+unistd.h
+-
+
+/home2/tcs/librab/build/examples/utils.c
+ctype.h
+-
+stdarg.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_framing.h
+-
+stdint.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/utils.h
+
+librabbitmq/amqp.h
+sys/types.h
+-
+stddef.h
+-
+stdint.h
+-
+amqp_framing.h
+-
+
+librabbitmq/amqp_framing.h
+amqp.h
+-
+
+librabbitmq/amqp_tcp_socket.h
+amqp.h
+-
+
diff --git a/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/DependInfo.cmake b/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/DependInfo.cmake
new file mode 100644
index 0000000..8f829b0
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/DependInfo.cmake
@@ -0,0 +1,25 @@
+# The set of languages for which implicit dependencies are needed:
+SET(CMAKE_DEPENDS_LANGUAGES
+ "C"
+ )
+# The set of files for implicit dependencies of each language:
+SET(CMAKE_DEPENDS_CHECK_C
+ "/home2/tcs/librab/build/examples/amqp_connect_timeout.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o"
+ "/home2/tcs/librab/build/examples/unix/platform_utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.o"
+ "/home2/tcs/librab/build/examples/utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/utils.c.o"
+ )
+SET(CMAKE_C_COMPILER_ID "GNU")
+
+# Targets to which this target links.
+SET(CMAKE_TARGET_LINKED_INFO_FILES
+ "/home2/tcs/librab/build/librabbitmq/CMakeFiles/rabbitmq.dir/DependInfo.cmake"
+ )
+
+# The include file search paths:
+SET(CMAKE_C_TARGET_INCLUDE_PATH
+ "librabbitmq"
+ "examples/unix"
+ )
+SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/build.make b/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/build.make
new file mode 100644
index 0000000..eafeac7
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/build.make
@@ -0,0 +1,160 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The program to use to edit the cache.
+CMAKE_EDIT_COMMAND = /usr/bin/ccmake
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home2/tcs/librab/build
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home2/tcs/librab/build
+
+# Include any dependencies generated for this target.
+include examples/CMakeFiles/amqp_connect_timeout.dir/depend.make
+
+# Include the progress variables for this target.
+include examples/CMakeFiles/amqp_connect_timeout.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include examples/CMakeFiles/amqp_connect_timeout.dir/flags.make
+
+examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o: examples/CMakeFiles/amqp_connect_timeout.dir/flags.make
+examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o: examples/amqp_connect_timeout.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_1)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o -c /home2/tcs/librab/build/examples/amqp_connect_timeout.c
+
+examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/amqp_connect_timeout.c > CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.i
+
+examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/amqp_connect_timeout.c -o CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.s
+
+examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o.requires
+
+examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o.provides: examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_connect_timeout.dir/build.make examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o.provides
+
+examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o.provides.build: examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o
+
+examples/CMakeFiles/amqp_connect_timeout.dir/utils.c.o: examples/CMakeFiles/amqp_connect_timeout.dir/flags.make
+examples/CMakeFiles/amqp_connect_timeout.dir/utils.c.o: examples/utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_2)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_connect_timeout.dir/utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_connect_timeout.dir/utils.c.o -c /home2/tcs/librab/build/examples/utils.c
+
+examples/CMakeFiles/amqp_connect_timeout.dir/utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_connect_timeout.dir/utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/utils.c > CMakeFiles/amqp_connect_timeout.dir/utils.c.i
+
+examples/CMakeFiles/amqp_connect_timeout.dir/utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_connect_timeout.dir/utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/utils.c -o CMakeFiles/amqp_connect_timeout.dir/utils.c.s
+
+examples/CMakeFiles/amqp_connect_timeout.dir/utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_connect_timeout.dir/utils.c.o.requires
+
+examples/CMakeFiles/amqp_connect_timeout.dir/utils.c.o.provides: examples/CMakeFiles/amqp_connect_timeout.dir/utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_connect_timeout.dir/build.make examples/CMakeFiles/amqp_connect_timeout.dir/utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_connect_timeout.dir/utils.c.o.provides
+
+examples/CMakeFiles/amqp_connect_timeout.dir/utils.c.o.provides.build: examples/CMakeFiles/amqp_connect_timeout.dir/utils.c.o
+
+examples/CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.o: examples/CMakeFiles/amqp_connect_timeout.dir/flags.make
+examples/CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_3)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.o -c /home2/tcs/librab/build/examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/unix/platform_utils.c > CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.i
+
+examples/CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/unix/platform_utils.c -o CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.s
+
+examples/CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.o.requires
+
+examples/CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.o.provides: examples/CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_connect_timeout.dir/build.make examples/CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.o.provides
+
+examples/CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.o.provides.build: examples/CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.o
+
+# Object files for target amqp_connect_timeout
+amqp_connect_timeout_OBJECTS = \
+"CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o" \
+"CMakeFiles/amqp_connect_timeout.dir/utils.c.o" \
+"CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.o"
+
+# External object files for target amqp_connect_timeout
+amqp_connect_timeout_EXTERNAL_OBJECTS =
+
+examples/amqp_connect_timeout: examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o
+examples/amqp_connect_timeout: examples/CMakeFiles/amqp_connect_timeout.dir/utils.c.o
+examples/amqp_connect_timeout: examples/CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.o
+examples/amqp_connect_timeout: examples/CMakeFiles/amqp_connect_timeout.dir/build.make
+examples/amqp_connect_timeout: librabbitmq/librabbitmq.so.4.3.1
+examples/amqp_connect_timeout: /usr/lib64/libssl.so
+examples/amqp_connect_timeout: /usr/lib64/libcrypto.so
+examples/amqp_connect_timeout: examples/CMakeFiles/amqp_connect_timeout.dir/link.txt
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking C executable amqp_connect_timeout"
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/amqp_connect_timeout.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+examples/CMakeFiles/amqp_connect_timeout.dir/build: examples/amqp_connect_timeout
+.PHONY : examples/CMakeFiles/amqp_connect_timeout.dir/build
+
+examples/CMakeFiles/amqp_connect_timeout.dir/requires: examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o.requires
+examples/CMakeFiles/amqp_connect_timeout.dir/requires: examples/CMakeFiles/amqp_connect_timeout.dir/utils.c.o.requires
+examples/CMakeFiles/amqp_connect_timeout.dir/requires: examples/CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.o.requires
+.PHONY : examples/CMakeFiles/amqp_connect_timeout.dir/requires
+
+examples/CMakeFiles/amqp_connect_timeout.dir/clean:
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -P CMakeFiles/amqp_connect_timeout.dir/cmake_clean.cmake
+.PHONY : examples/CMakeFiles/amqp_connect_timeout.dir/clean
+
+examples/CMakeFiles/amqp_connect_timeout.dir/depend:
+ cd /home2/tcs/librab/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : examples/CMakeFiles/amqp_connect_timeout.dir/depend
+
diff --git a/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/cmake_clean.cmake b/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/cmake_clean.cmake
new file mode 100644
index 0000000..00b6ca7
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/cmake_clean.cmake
@@ -0,0 +1,12 @@
+FILE(REMOVE_RECURSE
+ "CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o"
+ "CMakeFiles/amqp_connect_timeout.dir/utils.c.o"
+ "CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.o"
+ "amqp_connect_timeout.pdb"
+ "amqp_connect_timeout"
+)
+
+# Per-language clean rules from dependency scanning.
+FOREACH(lang C)
+ INCLUDE(CMakeFiles/amqp_connect_timeout.dir/cmake_clean_${lang}.cmake OPTIONAL)
+ENDFOREACH(lang)
diff --git a/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/depend.internal b/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/depend.internal
new file mode 100644
index 0000000..cf4530a
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/depend.internal
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o
+ /home2/tcs/librab/build/examples/amqp_connect_timeout.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
+ librabbitmq/amqp_tcp_socket.h
+examples/CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.o
+ /home2/tcs/librab/build/examples/unix/platform_utils.c
+examples/CMakeFiles/amqp_connect_timeout.dir/utils.c.o
+ /home2/tcs/librab/build/examples/utils.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
diff --git a/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/depend.make b/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/depend.make
new file mode 100644
index 0000000..3d26ec1
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/depend.make
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o: examples/amqp_connect_timeout.c
+examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o: examples/utils.h
+examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o: librabbitmq/amqp_framing.h
+examples/CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o: librabbitmq/amqp_tcp_socket.h
+
+examples/CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_connect_timeout.dir/utils.c.o: examples/utils.c
+examples/CMakeFiles/amqp_connect_timeout.dir/utils.c.o: examples/utils.h
+examples/CMakeFiles/amqp_connect_timeout.dir/utils.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_connect_timeout.dir/utils.c.o: librabbitmq/amqp_framing.h
+
diff --git a/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/flags.make b/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/flags.make
new file mode 100644
index 0000000..b3d348b
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# compile C with /bin/cc
+C_FLAGS = -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG -I/home2/tcs/librab/build/librabbitmq -I/home2/tcs/librab/build/examples/unix
+
+C_DEFINES =
+
diff --git a/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/link.txt b/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/link.txt
new file mode 100644
index 0000000..1d2f85b
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/link.txt
@@ -0,0 +1 @@
+/bin/cc -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG CMakeFiles/amqp_connect_timeout.dir/amqp_connect_timeout.c.o CMakeFiles/amqp_connect_timeout.dir/utils.c.o CMakeFiles/amqp_connect_timeout.dir/unix/platform_utils.c.o -o amqp_connect_timeout -rdynamic ../librabbitmq/librabbitmq.so.4.3.1 -lssl -lcrypto -lrt -lpthread -Wl,-rpath,/home2/tcs/librab/build/librabbitmq
diff --git a/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/progress.make b/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/progress.make
new file mode 100644
index 0000000..2088a4d
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_connect_timeout.dir/progress.make
@@ -0,0 +1,4 @@
+CMAKE_PROGRESS_1 = 4
+CMAKE_PROGRESS_2 = 5
+CMAKE_PROGRESS_3 = 6
+
diff --git a/librab/build/examples/CMakeFiles/amqp_consumer.dir/C.includecache b/librab/build/examples/CMakeFiles/amqp_consumer.dir/C.includecache
new file mode 100644
index 0000000..d9c0213
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_consumer.dir/C.includecache
@@ -0,0 +1,76 @@
+#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
+
+#IncludeRegexScan: ^.*$
+
+#IncludeRegexComplain: ^$
+
+#IncludeRegexTransform:
+
+/home2/tcs/librab/build/examples/amqp_consumer.c
+stdint.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_tcp_socket.h
+-
+assert.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/unix/platform_utils.c
+stdint.h
+-
+sys/time.h
+-
+time.h
+-
+unistd.h
+-
+
+/home2/tcs/librab/build/examples/utils.c
+ctype.h
+-
+stdarg.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_framing.h
+-
+stdint.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/utils.h
+
+librabbitmq/amqp.h
+sys/types.h
+-
+stddef.h
+-
+stdint.h
+-
+amqp_framing.h
+-
+
+librabbitmq/amqp_framing.h
+amqp.h
+-
+
+librabbitmq/amqp_tcp_socket.h
+amqp.h
+-
+
diff --git a/librab/build/examples/CMakeFiles/amqp_consumer.dir/DependInfo.cmake b/librab/build/examples/CMakeFiles/amqp_consumer.dir/DependInfo.cmake
new file mode 100644
index 0000000..3e41f7e
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_consumer.dir/DependInfo.cmake
@@ -0,0 +1,25 @@
+# The set of languages for which implicit dependencies are needed:
+SET(CMAKE_DEPENDS_LANGUAGES
+ "C"
+ )
+# The set of files for implicit dependencies of each language:
+SET(CMAKE_DEPENDS_CHECK_C
+ "/home2/tcs/librab/build/examples/amqp_consumer.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o"
+ "/home2/tcs/librab/build/examples/unix/platform_utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.o"
+ "/home2/tcs/librab/build/examples/utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_consumer.dir/utils.c.o"
+ )
+SET(CMAKE_C_COMPILER_ID "GNU")
+
+# Targets to which this target links.
+SET(CMAKE_TARGET_LINKED_INFO_FILES
+ "/home2/tcs/librab/build/librabbitmq/CMakeFiles/rabbitmq.dir/DependInfo.cmake"
+ )
+
+# The include file search paths:
+SET(CMAKE_C_TARGET_INCLUDE_PATH
+ "librabbitmq"
+ "examples/unix"
+ )
+SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/librab/build/examples/CMakeFiles/amqp_consumer.dir/build.make b/librab/build/examples/CMakeFiles/amqp_consumer.dir/build.make
new file mode 100644
index 0000000..8bd134e
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_consumer.dir/build.make
@@ -0,0 +1,160 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The program to use to edit the cache.
+CMAKE_EDIT_COMMAND = /usr/bin/ccmake
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home2/tcs/librab/build
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home2/tcs/librab/build
+
+# Include any dependencies generated for this target.
+include examples/CMakeFiles/amqp_consumer.dir/depend.make
+
+# Include the progress variables for this target.
+include examples/CMakeFiles/amqp_consumer.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include examples/CMakeFiles/amqp_consumer.dir/flags.make
+
+examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o: examples/CMakeFiles/amqp_consumer.dir/flags.make
+examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o: examples/amqp_consumer.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_1)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o -c /home2/tcs/librab/build/examples/amqp_consumer.c
+
+examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_consumer.dir/amqp_consumer.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/amqp_consumer.c > CMakeFiles/amqp_consumer.dir/amqp_consumer.c.i
+
+examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_consumer.dir/amqp_consumer.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/amqp_consumer.c -o CMakeFiles/amqp_consumer.dir/amqp_consumer.c.s
+
+examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o.requires
+
+examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o.provides: examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_consumer.dir/build.make examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o.provides
+
+examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o.provides.build: examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o
+
+examples/CMakeFiles/amqp_consumer.dir/utils.c.o: examples/CMakeFiles/amqp_consumer.dir/flags.make
+examples/CMakeFiles/amqp_consumer.dir/utils.c.o: examples/utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_2)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_consumer.dir/utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_consumer.dir/utils.c.o -c /home2/tcs/librab/build/examples/utils.c
+
+examples/CMakeFiles/amqp_consumer.dir/utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_consumer.dir/utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/utils.c > CMakeFiles/amqp_consumer.dir/utils.c.i
+
+examples/CMakeFiles/amqp_consumer.dir/utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_consumer.dir/utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/utils.c -o CMakeFiles/amqp_consumer.dir/utils.c.s
+
+examples/CMakeFiles/amqp_consumer.dir/utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_consumer.dir/utils.c.o.requires
+
+examples/CMakeFiles/amqp_consumer.dir/utils.c.o.provides: examples/CMakeFiles/amqp_consumer.dir/utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_consumer.dir/build.make examples/CMakeFiles/amqp_consumer.dir/utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_consumer.dir/utils.c.o.provides
+
+examples/CMakeFiles/amqp_consumer.dir/utils.c.o.provides.build: examples/CMakeFiles/amqp_consumer.dir/utils.c.o
+
+examples/CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.o: examples/CMakeFiles/amqp_consumer.dir/flags.make
+examples/CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_3)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.o -c /home2/tcs/librab/build/examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/unix/platform_utils.c > CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.i
+
+examples/CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/unix/platform_utils.c -o CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.s
+
+examples/CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.o.requires
+
+examples/CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.o.provides: examples/CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_consumer.dir/build.make examples/CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.o.provides
+
+examples/CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.o.provides.build: examples/CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.o
+
+# Object files for target amqp_consumer
+amqp_consumer_OBJECTS = \
+"CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o" \
+"CMakeFiles/amqp_consumer.dir/utils.c.o" \
+"CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.o"
+
+# External object files for target amqp_consumer
+amqp_consumer_EXTERNAL_OBJECTS =
+
+examples/amqp_consumer: examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o
+examples/amqp_consumer: examples/CMakeFiles/amqp_consumer.dir/utils.c.o
+examples/amqp_consumer: examples/CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.o
+examples/amqp_consumer: examples/CMakeFiles/amqp_consumer.dir/build.make
+examples/amqp_consumer: librabbitmq/librabbitmq.so.4.3.1
+examples/amqp_consumer: /usr/lib64/libssl.so
+examples/amqp_consumer: /usr/lib64/libcrypto.so
+examples/amqp_consumer: examples/CMakeFiles/amqp_consumer.dir/link.txt
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking C executable amqp_consumer"
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/amqp_consumer.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+examples/CMakeFiles/amqp_consumer.dir/build: examples/amqp_consumer
+.PHONY : examples/CMakeFiles/amqp_consumer.dir/build
+
+examples/CMakeFiles/amqp_consumer.dir/requires: examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o.requires
+examples/CMakeFiles/amqp_consumer.dir/requires: examples/CMakeFiles/amqp_consumer.dir/utils.c.o.requires
+examples/CMakeFiles/amqp_consumer.dir/requires: examples/CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.o.requires
+.PHONY : examples/CMakeFiles/amqp_consumer.dir/requires
+
+examples/CMakeFiles/amqp_consumer.dir/clean:
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -P CMakeFiles/amqp_consumer.dir/cmake_clean.cmake
+.PHONY : examples/CMakeFiles/amqp_consumer.dir/clean
+
+examples/CMakeFiles/amqp_consumer.dir/depend:
+ cd /home2/tcs/librab/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build/examples/CMakeFiles/amqp_consumer.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : examples/CMakeFiles/amqp_consumer.dir/depend
+
diff --git a/librab/build/examples/CMakeFiles/amqp_consumer.dir/cmake_clean.cmake b/librab/build/examples/CMakeFiles/amqp_consumer.dir/cmake_clean.cmake
new file mode 100644
index 0000000..9cfedc3
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_consumer.dir/cmake_clean.cmake
@@ -0,0 +1,12 @@
+FILE(REMOVE_RECURSE
+ "CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o"
+ "CMakeFiles/amqp_consumer.dir/utils.c.o"
+ "CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.o"
+ "amqp_consumer.pdb"
+ "amqp_consumer"
+)
+
+# Per-language clean rules from dependency scanning.
+FOREACH(lang C)
+ INCLUDE(CMakeFiles/amqp_consumer.dir/cmake_clean_${lang}.cmake OPTIONAL)
+ENDFOREACH(lang)
diff --git a/librab/build/examples/CMakeFiles/amqp_consumer.dir/depend.internal b/librab/build/examples/CMakeFiles/amqp_consumer.dir/depend.internal
new file mode 100644
index 0000000..c7209ba
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_consumer.dir/depend.internal
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o
+ /home2/tcs/librab/build/examples/amqp_consumer.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
+ librabbitmq/amqp_tcp_socket.h
+examples/CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.o
+ /home2/tcs/librab/build/examples/unix/platform_utils.c
+examples/CMakeFiles/amqp_consumer.dir/utils.c.o
+ /home2/tcs/librab/build/examples/utils.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
diff --git a/librab/build/examples/CMakeFiles/amqp_consumer.dir/depend.make b/librab/build/examples/CMakeFiles/amqp_consumer.dir/depend.make
new file mode 100644
index 0000000..31bf6ad
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_consumer.dir/depend.make
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o: examples/amqp_consumer.c
+examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o: examples/utils.h
+examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o: librabbitmq/amqp_framing.h
+examples/CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o: librabbitmq/amqp_tcp_socket.h
+
+examples/CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_consumer.dir/utils.c.o: examples/utils.c
+examples/CMakeFiles/amqp_consumer.dir/utils.c.o: examples/utils.h
+examples/CMakeFiles/amqp_consumer.dir/utils.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_consumer.dir/utils.c.o: librabbitmq/amqp_framing.h
+
diff --git a/librab/build/examples/CMakeFiles/amqp_consumer.dir/flags.make b/librab/build/examples/CMakeFiles/amqp_consumer.dir/flags.make
new file mode 100644
index 0000000..b3d348b
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_consumer.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# compile C with /bin/cc
+C_FLAGS = -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG -I/home2/tcs/librab/build/librabbitmq -I/home2/tcs/librab/build/examples/unix
+
+C_DEFINES =
+
diff --git a/librab/build/examples/CMakeFiles/amqp_consumer.dir/link.txt b/librab/build/examples/CMakeFiles/amqp_consumer.dir/link.txt
new file mode 100644
index 0000000..5349e94
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_consumer.dir/link.txt
@@ -0,0 +1 @@
+/bin/cc -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG CMakeFiles/amqp_consumer.dir/amqp_consumer.c.o CMakeFiles/amqp_consumer.dir/utils.c.o CMakeFiles/amqp_consumer.dir/unix/platform_utils.c.o -o amqp_consumer -rdynamic ../librabbitmq/librabbitmq.so.4.3.1 -lssl -lcrypto -lrt -lpthread -Wl,-rpath,/home2/tcs/librab/build/librabbitmq
diff --git a/librab/build/examples/CMakeFiles/amqp_consumer.dir/progress.make b/librab/build/examples/CMakeFiles/amqp_consumer.dir/progress.make
new file mode 100644
index 0000000..cd5d6f7
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_consumer.dir/progress.make
@@ -0,0 +1,4 @@
+CMAKE_PROGRESS_1 = 7
+CMAKE_PROGRESS_2 = 8
+CMAKE_PROGRESS_3 = 9
+
diff --git a/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/C.includecache b/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/C.includecache
new file mode 100644
index 0000000..f1d8def
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/C.includecache
@@ -0,0 +1,74 @@
+#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
+
+#IncludeRegexScan: ^.*$
+
+#IncludeRegexComplain: ^$
+
+#IncludeRegexTransform:
+
+/home2/tcs/librab/build/examples/amqp_exchange_declare.c
+stdint.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_tcp_socket.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/unix/platform_utils.c
+stdint.h
+-
+sys/time.h
+-
+time.h
+-
+unistd.h
+-
+
+/home2/tcs/librab/build/examples/utils.c
+ctype.h
+-
+stdarg.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_framing.h
+-
+stdint.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/utils.h
+
+librabbitmq/amqp.h
+sys/types.h
+-
+stddef.h
+-
+stdint.h
+-
+amqp_framing.h
+-
+
+librabbitmq/amqp_framing.h
+amqp.h
+-
+
+librabbitmq/amqp_tcp_socket.h
+amqp.h
+-
+
diff --git a/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/DependInfo.cmake b/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/DependInfo.cmake
new file mode 100644
index 0000000..ae7b0a7
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/DependInfo.cmake
@@ -0,0 +1,25 @@
+# The set of languages for which implicit dependencies are needed:
+SET(CMAKE_DEPENDS_LANGUAGES
+ "C"
+ )
+# The set of files for implicit dependencies of each language:
+SET(CMAKE_DEPENDS_CHECK_C
+ "/home2/tcs/librab/build/examples/amqp_exchange_declare.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o"
+ "/home2/tcs/librab/build/examples/unix/platform_utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.o"
+ "/home2/tcs/librab/build/examples/utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/utils.c.o"
+ )
+SET(CMAKE_C_COMPILER_ID "GNU")
+
+# Targets to which this target links.
+SET(CMAKE_TARGET_LINKED_INFO_FILES
+ "/home2/tcs/librab/build/librabbitmq/CMakeFiles/rabbitmq.dir/DependInfo.cmake"
+ )
+
+# The include file search paths:
+SET(CMAKE_C_TARGET_INCLUDE_PATH
+ "librabbitmq"
+ "examples/unix"
+ )
+SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/build.make b/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/build.make
new file mode 100644
index 0000000..76df3b7
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/build.make
@@ -0,0 +1,160 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The program to use to edit the cache.
+CMAKE_EDIT_COMMAND = /usr/bin/ccmake
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home2/tcs/librab/build
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home2/tcs/librab/build
+
+# Include any dependencies generated for this target.
+include examples/CMakeFiles/amqp_exchange_declare.dir/depend.make
+
+# Include the progress variables for this target.
+include examples/CMakeFiles/amqp_exchange_declare.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include examples/CMakeFiles/amqp_exchange_declare.dir/flags.make
+
+examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o: examples/CMakeFiles/amqp_exchange_declare.dir/flags.make
+examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o: examples/amqp_exchange_declare.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_1)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o -c /home2/tcs/librab/build/examples/amqp_exchange_declare.c
+
+examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/amqp_exchange_declare.c > CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.i
+
+examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/amqp_exchange_declare.c -o CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.s
+
+examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o.requires
+
+examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o.provides: examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_exchange_declare.dir/build.make examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o.provides
+
+examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o.provides.build: examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o
+
+examples/CMakeFiles/amqp_exchange_declare.dir/utils.c.o: examples/CMakeFiles/amqp_exchange_declare.dir/flags.make
+examples/CMakeFiles/amqp_exchange_declare.dir/utils.c.o: examples/utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_2)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_exchange_declare.dir/utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_exchange_declare.dir/utils.c.o -c /home2/tcs/librab/build/examples/utils.c
+
+examples/CMakeFiles/amqp_exchange_declare.dir/utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_exchange_declare.dir/utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/utils.c > CMakeFiles/amqp_exchange_declare.dir/utils.c.i
+
+examples/CMakeFiles/amqp_exchange_declare.dir/utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_exchange_declare.dir/utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/utils.c -o CMakeFiles/amqp_exchange_declare.dir/utils.c.s
+
+examples/CMakeFiles/amqp_exchange_declare.dir/utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_exchange_declare.dir/utils.c.o.requires
+
+examples/CMakeFiles/amqp_exchange_declare.dir/utils.c.o.provides: examples/CMakeFiles/amqp_exchange_declare.dir/utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_exchange_declare.dir/build.make examples/CMakeFiles/amqp_exchange_declare.dir/utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_exchange_declare.dir/utils.c.o.provides
+
+examples/CMakeFiles/amqp_exchange_declare.dir/utils.c.o.provides.build: examples/CMakeFiles/amqp_exchange_declare.dir/utils.c.o
+
+examples/CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.o: examples/CMakeFiles/amqp_exchange_declare.dir/flags.make
+examples/CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_3)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.o -c /home2/tcs/librab/build/examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/unix/platform_utils.c > CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.i
+
+examples/CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/unix/platform_utils.c -o CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.s
+
+examples/CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.o.requires
+
+examples/CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.o.provides: examples/CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_exchange_declare.dir/build.make examples/CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.o.provides
+
+examples/CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.o.provides.build: examples/CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.o
+
+# Object files for target amqp_exchange_declare
+amqp_exchange_declare_OBJECTS = \
+"CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o" \
+"CMakeFiles/amqp_exchange_declare.dir/utils.c.o" \
+"CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.o"
+
+# External object files for target amqp_exchange_declare
+amqp_exchange_declare_EXTERNAL_OBJECTS =
+
+examples/amqp_exchange_declare: examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o
+examples/amqp_exchange_declare: examples/CMakeFiles/amqp_exchange_declare.dir/utils.c.o
+examples/amqp_exchange_declare: examples/CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.o
+examples/amqp_exchange_declare: examples/CMakeFiles/amqp_exchange_declare.dir/build.make
+examples/amqp_exchange_declare: librabbitmq/librabbitmq.so.4.3.1
+examples/amqp_exchange_declare: /usr/lib64/libssl.so
+examples/amqp_exchange_declare: /usr/lib64/libcrypto.so
+examples/amqp_exchange_declare: examples/CMakeFiles/amqp_exchange_declare.dir/link.txt
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking C executable amqp_exchange_declare"
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/amqp_exchange_declare.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+examples/CMakeFiles/amqp_exchange_declare.dir/build: examples/amqp_exchange_declare
+.PHONY : examples/CMakeFiles/amqp_exchange_declare.dir/build
+
+examples/CMakeFiles/amqp_exchange_declare.dir/requires: examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o.requires
+examples/CMakeFiles/amqp_exchange_declare.dir/requires: examples/CMakeFiles/amqp_exchange_declare.dir/utils.c.o.requires
+examples/CMakeFiles/amqp_exchange_declare.dir/requires: examples/CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.o.requires
+.PHONY : examples/CMakeFiles/amqp_exchange_declare.dir/requires
+
+examples/CMakeFiles/amqp_exchange_declare.dir/clean:
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -P CMakeFiles/amqp_exchange_declare.dir/cmake_clean.cmake
+.PHONY : examples/CMakeFiles/amqp_exchange_declare.dir/clean
+
+examples/CMakeFiles/amqp_exchange_declare.dir/depend:
+ cd /home2/tcs/librab/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : examples/CMakeFiles/amqp_exchange_declare.dir/depend
+
diff --git a/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/cmake_clean.cmake b/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/cmake_clean.cmake
new file mode 100644
index 0000000..ca9ee78
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/cmake_clean.cmake
@@ -0,0 +1,12 @@
+FILE(REMOVE_RECURSE
+ "CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o"
+ "CMakeFiles/amqp_exchange_declare.dir/utils.c.o"
+ "CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.o"
+ "amqp_exchange_declare.pdb"
+ "amqp_exchange_declare"
+)
+
+# Per-language clean rules from dependency scanning.
+FOREACH(lang C)
+ INCLUDE(CMakeFiles/amqp_exchange_declare.dir/cmake_clean_${lang}.cmake OPTIONAL)
+ENDFOREACH(lang)
diff --git a/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/depend.internal b/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/depend.internal
new file mode 100644
index 0000000..120d41f
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/depend.internal
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o
+ /home2/tcs/librab/build/examples/amqp_exchange_declare.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
+ librabbitmq/amqp_tcp_socket.h
+examples/CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.o
+ /home2/tcs/librab/build/examples/unix/platform_utils.c
+examples/CMakeFiles/amqp_exchange_declare.dir/utils.c.o
+ /home2/tcs/librab/build/examples/utils.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
diff --git a/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/depend.make b/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/depend.make
new file mode 100644
index 0000000..30ce9e9
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/depend.make
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o: examples/amqp_exchange_declare.c
+examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o: examples/utils.h
+examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o: librabbitmq/amqp_framing.h
+examples/CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o: librabbitmq/amqp_tcp_socket.h
+
+examples/CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_exchange_declare.dir/utils.c.o: examples/utils.c
+examples/CMakeFiles/amqp_exchange_declare.dir/utils.c.o: examples/utils.h
+examples/CMakeFiles/amqp_exchange_declare.dir/utils.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_exchange_declare.dir/utils.c.o: librabbitmq/amqp_framing.h
+
diff --git a/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/flags.make b/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/flags.make
new file mode 100644
index 0000000..b3d348b
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# compile C with /bin/cc
+C_FLAGS = -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG -I/home2/tcs/librab/build/librabbitmq -I/home2/tcs/librab/build/examples/unix
+
+C_DEFINES =
+
diff --git a/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/link.txt b/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/link.txt
new file mode 100644
index 0000000..e31ec90
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/link.txt
@@ -0,0 +1 @@
+/bin/cc -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG CMakeFiles/amqp_exchange_declare.dir/amqp_exchange_declare.c.o CMakeFiles/amqp_exchange_declare.dir/utils.c.o CMakeFiles/amqp_exchange_declare.dir/unix/platform_utils.c.o -o amqp_exchange_declare -rdynamic ../librabbitmq/librabbitmq.so.4.3.1 -lssl -lcrypto -lrt -lpthread -Wl,-rpath,/home2/tcs/librab/build/librabbitmq
diff --git a/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/progress.make b/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/progress.make
new file mode 100644
index 0000000..4aba123
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_exchange_declare.dir/progress.make
@@ -0,0 +1,4 @@
+CMAKE_PROGRESS_1 = 10
+CMAKE_PROGRESS_2 = 11
+CMAKE_PROGRESS_3 = 12
+
diff --git a/librab/build/examples/CMakeFiles/amqp_listen.dir/C.includecache b/librab/build/examples/CMakeFiles/amqp_listen.dir/C.includecache
new file mode 100644
index 0000000..ca2e98d
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_listen.dir/C.includecache
@@ -0,0 +1,76 @@
+#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
+
+#IncludeRegexScan: ^.*$
+
+#IncludeRegexComplain: ^$
+
+#IncludeRegexTransform:
+
+/home2/tcs/librab/build/examples/amqp_listen.c
+stdint.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_tcp_socket.h
+-
+assert.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/unix/platform_utils.c
+stdint.h
+-
+sys/time.h
+-
+time.h
+-
+unistd.h
+-
+
+/home2/tcs/librab/build/examples/utils.c
+ctype.h
+-
+stdarg.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_framing.h
+-
+stdint.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/utils.h
+
+librabbitmq/amqp.h
+sys/types.h
+-
+stddef.h
+-
+stdint.h
+-
+amqp_framing.h
+-
+
+librabbitmq/amqp_framing.h
+amqp.h
+-
+
+librabbitmq/amqp_tcp_socket.h
+amqp.h
+-
+
diff --git a/librab/build/examples/CMakeFiles/amqp_listen.dir/DependInfo.cmake b/librab/build/examples/CMakeFiles/amqp_listen.dir/DependInfo.cmake
new file mode 100644
index 0000000..5271b99
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_listen.dir/DependInfo.cmake
@@ -0,0 +1,25 @@
+# The set of languages for which implicit dependencies are needed:
+SET(CMAKE_DEPENDS_LANGUAGES
+ "C"
+ )
+# The set of files for implicit dependencies of each language:
+SET(CMAKE_DEPENDS_CHECK_C
+ "/home2/tcs/librab/build/examples/amqp_listen.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.o"
+ "/home2/tcs/librab/build/examples/unix/platform_utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_listen.dir/unix/platform_utils.c.o"
+ "/home2/tcs/librab/build/examples/utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_listen.dir/utils.c.o"
+ )
+SET(CMAKE_C_COMPILER_ID "GNU")
+
+# Targets to which this target links.
+SET(CMAKE_TARGET_LINKED_INFO_FILES
+ "/home2/tcs/librab/build/librabbitmq/CMakeFiles/rabbitmq.dir/DependInfo.cmake"
+ )
+
+# The include file search paths:
+SET(CMAKE_C_TARGET_INCLUDE_PATH
+ "librabbitmq"
+ "examples/unix"
+ )
+SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/librab/build/examples/CMakeFiles/amqp_listen.dir/build.make b/librab/build/examples/CMakeFiles/amqp_listen.dir/build.make
new file mode 100644
index 0000000..a561b90
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_listen.dir/build.make
@@ -0,0 +1,160 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The program to use to edit the cache.
+CMAKE_EDIT_COMMAND = /usr/bin/ccmake
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home2/tcs/librab/build
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home2/tcs/librab/build
+
+# Include any dependencies generated for this target.
+include examples/CMakeFiles/amqp_listen.dir/depend.make
+
+# Include the progress variables for this target.
+include examples/CMakeFiles/amqp_listen.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include examples/CMakeFiles/amqp_listen.dir/flags.make
+
+examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.o: examples/CMakeFiles/amqp_listen.dir/flags.make
+examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.o: examples/amqp_listen.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_1)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_listen.dir/amqp_listen.c.o -c /home2/tcs/librab/build/examples/amqp_listen.c
+
+examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_listen.dir/amqp_listen.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/amqp_listen.c > CMakeFiles/amqp_listen.dir/amqp_listen.c.i
+
+examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_listen.dir/amqp_listen.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/amqp_listen.c -o CMakeFiles/amqp_listen.dir/amqp_listen.c.s
+
+examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.o.requires
+
+examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.o.provides: examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_listen.dir/build.make examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.o.provides
+
+examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.o.provides.build: examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.o
+
+examples/CMakeFiles/amqp_listen.dir/utils.c.o: examples/CMakeFiles/amqp_listen.dir/flags.make
+examples/CMakeFiles/amqp_listen.dir/utils.c.o: examples/utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_2)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_listen.dir/utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_listen.dir/utils.c.o -c /home2/tcs/librab/build/examples/utils.c
+
+examples/CMakeFiles/amqp_listen.dir/utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_listen.dir/utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/utils.c > CMakeFiles/amqp_listen.dir/utils.c.i
+
+examples/CMakeFiles/amqp_listen.dir/utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_listen.dir/utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/utils.c -o CMakeFiles/amqp_listen.dir/utils.c.s
+
+examples/CMakeFiles/amqp_listen.dir/utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_listen.dir/utils.c.o.requires
+
+examples/CMakeFiles/amqp_listen.dir/utils.c.o.provides: examples/CMakeFiles/amqp_listen.dir/utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_listen.dir/build.make examples/CMakeFiles/amqp_listen.dir/utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_listen.dir/utils.c.o.provides
+
+examples/CMakeFiles/amqp_listen.dir/utils.c.o.provides.build: examples/CMakeFiles/amqp_listen.dir/utils.c.o
+
+examples/CMakeFiles/amqp_listen.dir/unix/platform_utils.c.o: examples/CMakeFiles/amqp_listen.dir/flags.make
+examples/CMakeFiles/amqp_listen.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_3)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_listen.dir/unix/platform_utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_listen.dir/unix/platform_utils.c.o -c /home2/tcs/librab/build/examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_listen.dir/unix/platform_utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_listen.dir/unix/platform_utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/unix/platform_utils.c > CMakeFiles/amqp_listen.dir/unix/platform_utils.c.i
+
+examples/CMakeFiles/amqp_listen.dir/unix/platform_utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_listen.dir/unix/platform_utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/unix/platform_utils.c -o CMakeFiles/amqp_listen.dir/unix/platform_utils.c.s
+
+examples/CMakeFiles/amqp_listen.dir/unix/platform_utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_listen.dir/unix/platform_utils.c.o.requires
+
+examples/CMakeFiles/amqp_listen.dir/unix/platform_utils.c.o.provides: examples/CMakeFiles/amqp_listen.dir/unix/platform_utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_listen.dir/build.make examples/CMakeFiles/amqp_listen.dir/unix/platform_utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_listen.dir/unix/platform_utils.c.o.provides
+
+examples/CMakeFiles/amqp_listen.dir/unix/platform_utils.c.o.provides.build: examples/CMakeFiles/amqp_listen.dir/unix/platform_utils.c.o
+
+# Object files for target amqp_listen
+amqp_listen_OBJECTS = \
+"CMakeFiles/amqp_listen.dir/amqp_listen.c.o" \
+"CMakeFiles/amqp_listen.dir/utils.c.o" \
+"CMakeFiles/amqp_listen.dir/unix/platform_utils.c.o"
+
+# External object files for target amqp_listen
+amqp_listen_EXTERNAL_OBJECTS =
+
+examples/amqp_listen: examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.o
+examples/amqp_listen: examples/CMakeFiles/amqp_listen.dir/utils.c.o
+examples/amqp_listen: examples/CMakeFiles/amqp_listen.dir/unix/platform_utils.c.o
+examples/amqp_listen: examples/CMakeFiles/amqp_listen.dir/build.make
+examples/amqp_listen: librabbitmq/librabbitmq.so.4.3.1
+examples/amqp_listen: /usr/lib64/libssl.so
+examples/amqp_listen: /usr/lib64/libcrypto.so
+examples/amqp_listen: examples/CMakeFiles/amqp_listen.dir/link.txt
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking C executable amqp_listen"
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/amqp_listen.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+examples/CMakeFiles/amqp_listen.dir/build: examples/amqp_listen
+.PHONY : examples/CMakeFiles/amqp_listen.dir/build
+
+examples/CMakeFiles/amqp_listen.dir/requires: examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.o.requires
+examples/CMakeFiles/amqp_listen.dir/requires: examples/CMakeFiles/amqp_listen.dir/utils.c.o.requires
+examples/CMakeFiles/amqp_listen.dir/requires: examples/CMakeFiles/amqp_listen.dir/unix/platform_utils.c.o.requires
+.PHONY : examples/CMakeFiles/amqp_listen.dir/requires
+
+examples/CMakeFiles/amqp_listen.dir/clean:
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -P CMakeFiles/amqp_listen.dir/cmake_clean.cmake
+.PHONY : examples/CMakeFiles/amqp_listen.dir/clean
+
+examples/CMakeFiles/amqp_listen.dir/depend:
+ cd /home2/tcs/librab/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build/examples/CMakeFiles/amqp_listen.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : examples/CMakeFiles/amqp_listen.dir/depend
+
diff --git a/librab/build/examples/CMakeFiles/amqp_listen.dir/cmake_clean.cmake b/librab/build/examples/CMakeFiles/amqp_listen.dir/cmake_clean.cmake
new file mode 100644
index 0000000..751188d
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_listen.dir/cmake_clean.cmake
@@ -0,0 +1,12 @@
+FILE(REMOVE_RECURSE
+ "CMakeFiles/amqp_listen.dir/amqp_listen.c.o"
+ "CMakeFiles/amqp_listen.dir/utils.c.o"
+ "CMakeFiles/amqp_listen.dir/unix/platform_utils.c.o"
+ "amqp_listen.pdb"
+ "amqp_listen"
+)
+
+# Per-language clean rules from dependency scanning.
+FOREACH(lang C)
+ INCLUDE(CMakeFiles/amqp_listen.dir/cmake_clean_${lang}.cmake OPTIONAL)
+ENDFOREACH(lang)
diff --git a/librab/build/examples/CMakeFiles/amqp_listen.dir/depend.internal b/librab/build/examples/CMakeFiles/amqp_listen.dir/depend.internal
new file mode 100644
index 0000000..4a08320
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_listen.dir/depend.internal
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.o
+ /home2/tcs/librab/build/examples/amqp_listen.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
+ librabbitmq/amqp_tcp_socket.h
+examples/CMakeFiles/amqp_listen.dir/unix/platform_utils.c.o
+ /home2/tcs/librab/build/examples/unix/platform_utils.c
+examples/CMakeFiles/amqp_listen.dir/utils.c.o
+ /home2/tcs/librab/build/examples/utils.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
diff --git a/librab/build/examples/CMakeFiles/amqp_listen.dir/depend.make b/librab/build/examples/CMakeFiles/amqp_listen.dir/depend.make
new file mode 100644
index 0000000..feca1b1
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_listen.dir/depend.make
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.o: examples/amqp_listen.c
+examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.o: examples/utils.h
+examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.o: librabbitmq/amqp_framing.h
+examples/CMakeFiles/amqp_listen.dir/amqp_listen.c.o: librabbitmq/amqp_tcp_socket.h
+
+examples/CMakeFiles/amqp_listen.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_listen.dir/utils.c.o: examples/utils.c
+examples/CMakeFiles/amqp_listen.dir/utils.c.o: examples/utils.h
+examples/CMakeFiles/amqp_listen.dir/utils.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_listen.dir/utils.c.o: librabbitmq/amqp_framing.h
+
diff --git a/librab/build/examples/CMakeFiles/amqp_listen.dir/flags.make b/librab/build/examples/CMakeFiles/amqp_listen.dir/flags.make
new file mode 100644
index 0000000..b3d348b
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_listen.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# compile C with /bin/cc
+C_FLAGS = -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG -I/home2/tcs/librab/build/librabbitmq -I/home2/tcs/librab/build/examples/unix
+
+C_DEFINES =
+
diff --git a/librab/build/examples/CMakeFiles/amqp_listen.dir/link.txt b/librab/build/examples/CMakeFiles/amqp_listen.dir/link.txt
new file mode 100644
index 0000000..645a4d5
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_listen.dir/link.txt
@@ -0,0 +1 @@
+/bin/cc -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG CMakeFiles/amqp_listen.dir/amqp_listen.c.o CMakeFiles/amqp_listen.dir/utils.c.o CMakeFiles/amqp_listen.dir/unix/platform_utils.c.o -o amqp_listen -rdynamic ../librabbitmq/librabbitmq.so.4.3.1 -lssl -lcrypto -lrt -lpthread -Wl,-rpath,/home2/tcs/librab/build/librabbitmq
diff --git a/librab/build/examples/CMakeFiles/amqp_listen.dir/progress.make b/librab/build/examples/CMakeFiles/amqp_listen.dir/progress.make
new file mode 100644
index 0000000..d47d864
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_listen.dir/progress.make
@@ -0,0 +1,4 @@
+CMAKE_PROGRESS_1 = 13
+CMAKE_PROGRESS_2 = 14
+CMAKE_PROGRESS_3 = 15
+
diff --git a/librab/build/examples/CMakeFiles/amqp_listenq.dir/C.includecache b/librab/build/examples/CMakeFiles/amqp_listenq.dir/C.includecache
new file mode 100644
index 0000000..8383169
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_listenq.dir/C.includecache
@@ -0,0 +1,76 @@
+#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
+
+#IncludeRegexScan: ^.*$
+
+#IncludeRegexComplain: ^$
+
+#IncludeRegexTransform:
+
+/home2/tcs/librab/build/examples/amqp_listenq.c
+stdint.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_tcp_socket.h
+-
+assert.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/unix/platform_utils.c
+stdint.h
+-
+sys/time.h
+-
+time.h
+-
+unistd.h
+-
+
+/home2/tcs/librab/build/examples/utils.c
+ctype.h
+-
+stdarg.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_framing.h
+-
+stdint.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/utils.h
+
+librabbitmq/amqp.h
+sys/types.h
+-
+stddef.h
+-
+stdint.h
+-
+amqp_framing.h
+-
+
+librabbitmq/amqp_framing.h
+amqp.h
+-
+
+librabbitmq/amqp_tcp_socket.h
+amqp.h
+-
+
diff --git a/librab/build/examples/CMakeFiles/amqp_listenq.dir/DependInfo.cmake b/librab/build/examples/CMakeFiles/amqp_listenq.dir/DependInfo.cmake
new file mode 100644
index 0000000..b8890a6
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_listenq.dir/DependInfo.cmake
@@ -0,0 +1,25 @@
+# The set of languages for which implicit dependencies are needed:
+SET(CMAKE_DEPENDS_LANGUAGES
+ "C"
+ )
+# The set of files for implicit dependencies of each language:
+SET(CMAKE_DEPENDS_CHECK_C
+ "/home2/tcs/librab/build/examples/amqp_listenq.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o"
+ "/home2/tcs/librab/build/examples/unix/platform_utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.o"
+ "/home2/tcs/librab/build/examples/utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_listenq.dir/utils.c.o"
+ )
+SET(CMAKE_C_COMPILER_ID "GNU")
+
+# Targets to which this target links.
+SET(CMAKE_TARGET_LINKED_INFO_FILES
+ "/home2/tcs/librab/build/librabbitmq/CMakeFiles/rabbitmq.dir/DependInfo.cmake"
+ )
+
+# The include file search paths:
+SET(CMAKE_C_TARGET_INCLUDE_PATH
+ "librabbitmq"
+ "examples/unix"
+ )
+SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/librab/build/examples/CMakeFiles/amqp_listenq.dir/build.make b/librab/build/examples/CMakeFiles/amqp_listenq.dir/build.make
new file mode 100644
index 0000000..5b5a301
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_listenq.dir/build.make
@@ -0,0 +1,160 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The program to use to edit the cache.
+CMAKE_EDIT_COMMAND = /usr/bin/ccmake
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home2/tcs/librab/build
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home2/tcs/librab/build
+
+# Include any dependencies generated for this target.
+include examples/CMakeFiles/amqp_listenq.dir/depend.make
+
+# Include the progress variables for this target.
+include examples/CMakeFiles/amqp_listenq.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include examples/CMakeFiles/amqp_listenq.dir/flags.make
+
+examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o: examples/CMakeFiles/amqp_listenq.dir/flags.make
+examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o: examples/amqp_listenq.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_1)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o -c /home2/tcs/librab/build/examples/amqp_listenq.c
+
+examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_listenq.dir/amqp_listenq.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/amqp_listenq.c > CMakeFiles/amqp_listenq.dir/amqp_listenq.c.i
+
+examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_listenq.dir/amqp_listenq.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/amqp_listenq.c -o CMakeFiles/amqp_listenq.dir/amqp_listenq.c.s
+
+examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o.requires
+
+examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o.provides: examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_listenq.dir/build.make examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o.provides
+
+examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o.provides.build: examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o
+
+examples/CMakeFiles/amqp_listenq.dir/utils.c.o: examples/CMakeFiles/amqp_listenq.dir/flags.make
+examples/CMakeFiles/amqp_listenq.dir/utils.c.o: examples/utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_2)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_listenq.dir/utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_listenq.dir/utils.c.o -c /home2/tcs/librab/build/examples/utils.c
+
+examples/CMakeFiles/amqp_listenq.dir/utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_listenq.dir/utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/utils.c > CMakeFiles/amqp_listenq.dir/utils.c.i
+
+examples/CMakeFiles/amqp_listenq.dir/utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_listenq.dir/utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/utils.c -o CMakeFiles/amqp_listenq.dir/utils.c.s
+
+examples/CMakeFiles/amqp_listenq.dir/utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_listenq.dir/utils.c.o.requires
+
+examples/CMakeFiles/amqp_listenq.dir/utils.c.o.provides: examples/CMakeFiles/amqp_listenq.dir/utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_listenq.dir/build.make examples/CMakeFiles/amqp_listenq.dir/utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_listenq.dir/utils.c.o.provides
+
+examples/CMakeFiles/amqp_listenq.dir/utils.c.o.provides.build: examples/CMakeFiles/amqp_listenq.dir/utils.c.o
+
+examples/CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.o: examples/CMakeFiles/amqp_listenq.dir/flags.make
+examples/CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_3)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.o -c /home2/tcs/librab/build/examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/unix/platform_utils.c > CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.i
+
+examples/CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/unix/platform_utils.c -o CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.s
+
+examples/CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.o.requires
+
+examples/CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.o.provides: examples/CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_listenq.dir/build.make examples/CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.o.provides
+
+examples/CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.o.provides.build: examples/CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.o
+
+# Object files for target amqp_listenq
+amqp_listenq_OBJECTS = \
+"CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o" \
+"CMakeFiles/amqp_listenq.dir/utils.c.o" \
+"CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.o"
+
+# External object files for target amqp_listenq
+amqp_listenq_EXTERNAL_OBJECTS =
+
+examples/amqp_listenq: examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o
+examples/amqp_listenq: examples/CMakeFiles/amqp_listenq.dir/utils.c.o
+examples/amqp_listenq: examples/CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.o
+examples/amqp_listenq: examples/CMakeFiles/amqp_listenq.dir/build.make
+examples/amqp_listenq: librabbitmq/librabbitmq.so.4.3.1
+examples/amqp_listenq: /usr/lib64/libssl.so
+examples/amqp_listenq: /usr/lib64/libcrypto.so
+examples/amqp_listenq: examples/CMakeFiles/amqp_listenq.dir/link.txt
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking C executable amqp_listenq"
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/amqp_listenq.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+examples/CMakeFiles/amqp_listenq.dir/build: examples/amqp_listenq
+.PHONY : examples/CMakeFiles/amqp_listenq.dir/build
+
+examples/CMakeFiles/amqp_listenq.dir/requires: examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o.requires
+examples/CMakeFiles/amqp_listenq.dir/requires: examples/CMakeFiles/amqp_listenq.dir/utils.c.o.requires
+examples/CMakeFiles/amqp_listenq.dir/requires: examples/CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.o.requires
+.PHONY : examples/CMakeFiles/amqp_listenq.dir/requires
+
+examples/CMakeFiles/amqp_listenq.dir/clean:
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -P CMakeFiles/amqp_listenq.dir/cmake_clean.cmake
+.PHONY : examples/CMakeFiles/amqp_listenq.dir/clean
+
+examples/CMakeFiles/amqp_listenq.dir/depend:
+ cd /home2/tcs/librab/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build/examples/CMakeFiles/amqp_listenq.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : examples/CMakeFiles/amqp_listenq.dir/depend
+
diff --git a/librab/build/examples/CMakeFiles/amqp_listenq.dir/cmake_clean.cmake b/librab/build/examples/CMakeFiles/amqp_listenq.dir/cmake_clean.cmake
new file mode 100644
index 0000000..52f7e46
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_listenq.dir/cmake_clean.cmake
@@ -0,0 +1,12 @@
+FILE(REMOVE_RECURSE
+ "CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o"
+ "CMakeFiles/amqp_listenq.dir/utils.c.o"
+ "CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.o"
+ "amqp_listenq.pdb"
+ "amqp_listenq"
+)
+
+# Per-language clean rules from dependency scanning.
+FOREACH(lang C)
+ INCLUDE(CMakeFiles/amqp_listenq.dir/cmake_clean_${lang}.cmake OPTIONAL)
+ENDFOREACH(lang)
diff --git a/librab/build/examples/CMakeFiles/amqp_listenq.dir/depend.internal b/librab/build/examples/CMakeFiles/amqp_listenq.dir/depend.internal
new file mode 100644
index 0000000..11d92d3
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_listenq.dir/depend.internal
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o
+ /home2/tcs/librab/build/examples/amqp_listenq.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
+ librabbitmq/amqp_tcp_socket.h
+examples/CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.o
+ /home2/tcs/librab/build/examples/unix/platform_utils.c
+examples/CMakeFiles/amqp_listenq.dir/utils.c.o
+ /home2/tcs/librab/build/examples/utils.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
diff --git a/librab/build/examples/CMakeFiles/amqp_listenq.dir/depend.make b/librab/build/examples/CMakeFiles/amqp_listenq.dir/depend.make
new file mode 100644
index 0000000..6e2838b
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_listenq.dir/depend.make
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o: examples/amqp_listenq.c
+examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o: examples/utils.h
+examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o: librabbitmq/amqp_framing.h
+examples/CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o: librabbitmq/amqp_tcp_socket.h
+
+examples/CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_listenq.dir/utils.c.o: examples/utils.c
+examples/CMakeFiles/amqp_listenq.dir/utils.c.o: examples/utils.h
+examples/CMakeFiles/amqp_listenq.dir/utils.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_listenq.dir/utils.c.o: librabbitmq/amqp_framing.h
+
diff --git a/librab/build/examples/CMakeFiles/amqp_listenq.dir/flags.make b/librab/build/examples/CMakeFiles/amqp_listenq.dir/flags.make
new file mode 100644
index 0000000..b3d348b
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_listenq.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# compile C with /bin/cc
+C_FLAGS = -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG -I/home2/tcs/librab/build/librabbitmq -I/home2/tcs/librab/build/examples/unix
+
+C_DEFINES =
+
diff --git a/librab/build/examples/CMakeFiles/amqp_listenq.dir/link.txt b/librab/build/examples/CMakeFiles/amqp_listenq.dir/link.txt
new file mode 100644
index 0000000..564a395
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_listenq.dir/link.txt
@@ -0,0 +1 @@
+/bin/cc -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG CMakeFiles/amqp_listenq.dir/amqp_listenq.c.o CMakeFiles/amqp_listenq.dir/utils.c.o CMakeFiles/amqp_listenq.dir/unix/platform_utils.c.o -o amqp_listenq -rdynamic ../librabbitmq/librabbitmq.so.4.3.1 -lssl -lcrypto -lrt -lpthread -Wl,-rpath,/home2/tcs/librab/build/librabbitmq
diff --git a/librab/build/examples/CMakeFiles/amqp_listenq.dir/progress.make b/librab/build/examples/CMakeFiles/amqp_listenq.dir/progress.make
new file mode 100644
index 0000000..9997fcc
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_listenq.dir/progress.make
@@ -0,0 +1,4 @@
+CMAKE_PROGRESS_1 = 16
+CMAKE_PROGRESS_2 = 17
+CMAKE_PROGRESS_3 = 18
+
diff --git a/librab/build/examples/CMakeFiles/amqp_producer.dir/C.includecache b/librab/build/examples/CMakeFiles/amqp_producer.dir/C.includecache
new file mode 100644
index 0000000..fc835e5
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_producer.dir/C.includecache
@@ -0,0 +1,74 @@
+#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
+
+#IncludeRegexScan: ^.*$
+
+#IncludeRegexComplain: ^$
+
+#IncludeRegexTransform:
+
+/home2/tcs/librab/build/examples/amqp_producer.c
+stdint.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_tcp_socket.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/unix/platform_utils.c
+stdint.h
+-
+sys/time.h
+-
+time.h
+-
+unistd.h
+-
+
+/home2/tcs/librab/build/examples/utils.c
+ctype.h
+-
+stdarg.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_framing.h
+-
+stdint.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/utils.h
+
+librabbitmq/amqp.h
+sys/types.h
+-
+stddef.h
+-
+stdint.h
+-
+amqp_framing.h
+-
+
+librabbitmq/amqp_framing.h
+amqp.h
+-
+
+librabbitmq/amqp_tcp_socket.h
+amqp.h
+-
+
diff --git a/librab/build/examples/CMakeFiles/amqp_producer.dir/DependInfo.cmake b/librab/build/examples/CMakeFiles/amqp_producer.dir/DependInfo.cmake
new file mode 100644
index 0000000..4be79c8
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_producer.dir/DependInfo.cmake
@@ -0,0 +1,25 @@
+# The set of languages for which implicit dependencies are needed:
+SET(CMAKE_DEPENDS_LANGUAGES
+ "C"
+ )
+# The set of files for implicit dependencies of each language:
+SET(CMAKE_DEPENDS_CHECK_C
+ "/home2/tcs/librab/build/examples/amqp_producer.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.o"
+ "/home2/tcs/librab/build/examples/unix/platform_utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_producer.dir/unix/platform_utils.c.o"
+ "/home2/tcs/librab/build/examples/utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_producer.dir/utils.c.o"
+ )
+SET(CMAKE_C_COMPILER_ID "GNU")
+
+# Targets to which this target links.
+SET(CMAKE_TARGET_LINKED_INFO_FILES
+ "/home2/tcs/librab/build/librabbitmq/CMakeFiles/rabbitmq.dir/DependInfo.cmake"
+ )
+
+# The include file search paths:
+SET(CMAKE_C_TARGET_INCLUDE_PATH
+ "librabbitmq"
+ "examples/unix"
+ )
+SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/librab/build/examples/CMakeFiles/amqp_producer.dir/build.make b/librab/build/examples/CMakeFiles/amqp_producer.dir/build.make
new file mode 100644
index 0000000..aaf213e
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_producer.dir/build.make
@@ -0,0 +1,160 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The program to use to edit the cache.
+CMAKE_EDIT_COMMAND = /usr/bin/ccmake
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home2/tcs/librab/build
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home2/tcs/librab/build
+
+# Include any dependencies generated for this target.
+include examples/CMakeFiles/amqp_producer.dir/depend.make
+
+# Include the progress variables for this target.
+include examples/CMakeFiles/amqp_producer.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include examples/CMakeFiles/amqp_producer.dir/flags.make
+
+examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.o: examples/CMakeFiles/amqp_producer.dir/flags.make
+examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.o: examples/amqp_producer.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_1)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_producer.dir/amqp_producer.c.o -c /home2/tcs/librab/build/examples/amqp_producer.c
+
+examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_producer.dir/amqp_producer.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/amqp_producer.c > CMakeFiles/amqp_producer.dir/amqp_producer.c.i
+
+examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_producer.dir/amqp_producer.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/amqp_producer.c -o CMakeFiles/amqp_producer.dir/amqp_producer.c.s
+
+examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.o.requires
+
+examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.o.provides: examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_producer.dir/build.make examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.o.provides
+
+examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.o.provides.build: examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.o
+
+examples/CMakeFiles/amqp_producer.dir/utils.c.o: examples/CMakeFiles/amqp_producer.dir/flags.make
+examples/CMakeFiles/amqp_producer.dir/utils.c.o: examples/utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_2)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_producer.dir/utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_producer.dir/utils.c.o -c /home2/tcs/librab/build/examples/utils.c
+
+examples/CMakeFiles/amqp_producer.dir/utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_producer.dir/utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/utils.c > CMakeFiles/amqp_producer.dir/utils.c.i
+
+examples/CMakeFiles/amqp_producer.dir/utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_producer.dir/utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/utils.c -o CMakeFiles/amqp_producer.dir/utils.c.s
+
+examples/CMakeFiles/amqp_producer.dir/utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_producer.dir/utils.c.o.requires
+
+examples/CMakeFiles/amqp_producer.dir/utils.c.o.provides: examples/CMakeFiles/amqp_producer.dir/utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_producer.dir/build.make examples/CMakeFiles/amqp_producer.dir/utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_producer.dir/utils.c.o.provides
+
+examples/CMakeFiles/amqp_producer.dir/utils.c.o.provides.build: examples/CMakeFiles/amqp_producer.dir/utils.c.o
+
+examples/CMakeFiles/amqp_producer.dir/unix/platform_utils.c.o: examples/CMakeFiles/amqp_producer.dir/flags.make
+examples/CMakeFiles/amqp_producer.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_3)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_producer.dir/unix/platform_utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_producer.dir/unix/platform_utils.c.o -c /home2/tcs/librab/build/examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_producer.dir/unix/platform_utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_producer.dir/unix/platform_utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/unix/platform_utils.c > CMakeFiles/amqp_producer.dir/unix/platform_utils.c.i
+
+examples/CMakeFiles/amqp_producer.dir/unix/platform_utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_producer.dir/unix/platform_utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/unix/platform_utils.c -o CMakeFiles/amqp_producer.dir/unix/platform_utils.c.s
+
+examples/CMakeFiles/amqp_producer.dir/unix/platform_utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_producer.dir/unix/platform_utils.c.o.requires
+
+examples/CMakeFiles/amqp_producer.dir/unix/platform_utils.c.o.provides: examples/CMakeFiles/amqp_producer.dir/unix/platform_utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_producer.dir/build.make examples/CMakeFiles/amqp_producer.dir/unix/platform_utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_producer.dir/unix/platform_utils.c.o.provides
+
+examples/CMakeFiles/amqp_producer.dir/unix/platform_utils.c.o.provides.build: examples/CMakeFiles/amqp_producer.dir/unix/platform_utils.c.o
+
+# Object files for target amqp_producer
+amqp_producer_OBJECTS = \
+"CMakeFiles/amqp_producer.dir/amqp_producer.c.o" \
+"CMakeFiles/amqp_producer.dir/utils.c.o" \
+"CMakeFiles/amqp_producer.dir/unix/platform_utils.c.o"
+
+# External object files for target amqp_producer
+amqp_producer_EXTERNAL_OBJECTS =
+
+examples/amqp_producer: examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.o
+examples/amqp_producer: examples/CMakeFiles/amqp_producer.dir/utils.c.o
+examples/amqp_producer: examples/CMakeFiles/amqp_producer.dir/unix/platform_utils.c.o
+examples/amqp_producer: examples/CMakeFiles/amqp_producer.dir/build.make
+examples/amqp_producer: librabbitmq/librabbitmq.so.4.3.1
+examples/amqp_producer: /usr/lib64/libssl.so
+examples/amqp_producer: /usr/lib64/libcrypto.so
+examples/amqp_producer: examples/CMakeFiles/amqp_producer.dir/link.txt
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking C executable amqp_producer"
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/amqp_producer.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+examples/CMakeFiles/amqp_producer.dir/build: examples/amqp_producer
+.PHONY : examples/CMakeFiles/amqp_producer.dir/build
+
+examples/CMakeFiles/amqp_producer.dir/requires: examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.o.requires
+examples/CMakeFiles/amqp_producer.dir/requires: examples/CMakeFiles/amqp_producer.dir/utils.c.o.requires
+examples/CMakeFiles/amqp_producer.dir/requires: examples/CMakeFiles/amqp_producer.dir/unix/platform_utils.c.o.requires
+.PHONY : examples/CMakeFiles/amqp_producer.dir/requires
+
+examples/CMakeFiles/amqp_producer.dir/clean:
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -P CMakeFiles/amqp_producer.dir/cmake_clean.cmake
+.PHONY : examples/CMakeFiles/amqp_producer.dir/clean
+
+examples/CMakeFiles/amqp_producer.dir/depend:
+ cd /home2/tcs/librab/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build/examples/CMakeFiles/amqp_producer.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : examples/CMakeFiles/amqp_producer.dir/depend
+
diff --git a/librab/build/examples/CMakeFiles/amqp_producer.dir/cmake_clean.cmake b/librab/build/examples/CMakeFiles/amqp_producer.dir/cmake_clean.cmake
new file mode 100644
index 0000000..5c2c83f
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_producer.dir/cmake_clean.cmake
@@ -0,0 +1,12 @@
+FILE(REMOVE_RECURSE
+ "CMakeFiles/amqp_producer.dir/amqp_producer.c.o"
+ "CMakeFiles/amqp_producer.dir/utils.c.o"
+ "CMakeFiles/amqp_producer.dir/unix/platform_utils.c.o"
+ "amqp_producer.pdb"
+ "amqp_producer"
+)
+
+# Per-language clean rules from dependency scanning.
+FOREACH(lang C)
+ INCLUDE(CMakeFiles/amqp_producer.dir/cmake_clean_${lang}.cmake OPTIONAL)
+ENDFOREACH(lang)
diff --git a/librab/build/examples/CMakeFiles/amqp_producer.dir/depend.internal b/librab/build/examples/CMakeFiles/amqp_producer.dir/depend.internal
new file mode 100644
index 0000000..6c73ed2
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_producer.dir/depend.internal
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.o
+ /home2/tcs/librab/build/examples/amqp_producer.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
+ librabbitmq/amqp_tcp_socket.h
+examples/CMakeFiles/amqp_producer.dir/unix/platform_utils.c.o
+ /home2/tcs/librab/build/examples/unix/platform_utils.c
+examples/CMakeFiles/amqp_producer.dir/utils.c.o
+ /home2/tcs/librab/build/examples/utils.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
diff --git a/librab/build/examples/CMakeFiles/amqp_producer.dir/depend.make b/librab/build/examples/CMakeFiles/amqp_producer.dir/depend.make
new file mode 100644
index 0000000..0ee8e38
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_producer.dir/depend.make
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.o: examples/amqp_producer.c
+examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.o: examples/utils.h
+examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.o: librabbitmq/amqp_framing.h
+examples/CMakeFiles/amqp_producer.dir/amqp_producer.c.o: librabbitmq/amqp_tcp_socket.h
+
+examples/CMakeFiles/amqp_producer.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_producer.dir/utils.c.o: examples/utils.c
+examples/CMakeFiles/amqp_producer.dir/utils.c.o: examples/utils.h
+examples/CMakeFiles/amqp_producer.dir/utils.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_producer.dir/utils.c.o: librabbitmq/amqp_framing.h
+
diff --git a/librab/build/examples/CMakeFiles/amqp_producer.dir/flags.make b/librab/build/examples/CMakeFiles/amqp_producer.dir/flags.make
new file mode 100644
index 0000000..b3d348b
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_producer.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# compile C with /bin/cc
+C_FLAGS = -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG -I/home2/tcs/librab/build/librabbitmq -I/home2/tcs/librab/build/examples/unix
+
+C_DEFINES =
+
diff --git a/librab/build/examples/CMakeFiles/amqp_producer.dir/link.txt b/librab/build/examples/CMakeFiles/amqp_producer.dir/link.txt
new file mode 100644
index 0000000..e4fb9a2
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_producer.dir/link.txt
@@ -0,0 +1 @@
+/bin/cc -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG CMakeFiles/amqp_producer.dir/amqp_producer.c.o CMakeFiles/amqp_producer.dir/utils.c.o CMakeFiles/amqp_producer.dir/unix/platform_utils.c.o -o amqp_producer -rdynamic ../librabbitmq/librabbitmq.so.4.3.1 -lssl -lcrypto -lrt -lpthread -Wl,-rpath,/home2/tcs/librab/build/librabbitmq
diff --git a/librab/build/examples/CMakeFiles/amqp_producer.dir/progress.make b/librab/build/examples/CMakeFiles/amqp_producer.dir/progress.make
new file mode 100644
index 0000000..8be5de4
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_producer.dir/progress.make
@@ -0,0 +1,4 @@
+CMAKE_PROGRESS_1 = 19
+CMAKE_PROGRESS_2 = 20
+CMAKE_PROGRESS_3 = 21
+
diff --git a/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/C.includecache b/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/C.includecache
new file mode 100644
index 0000000..cad8fac
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/C.includecache
@@ -0,0 +1,76 @@
+#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
+
+#IncludeRegexScan: ^.*$
+
+#IncludeRegexComplain: ^$
+
+#IncludeRegexTransform:
+
+/home2/tcs/librab/build/examples/amqp_rpc_sendstring_client.c
+stdint.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_tcp_socket.h
+-
+assert.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/unix/platform_utils.c
+stdint.h
+-
+sys/time.h
+-
+time.h
+-
+unistd.h
+-
+
+/home2/tcs/librab/build/examples/utils.c
+ctype.h
+-
+stdarg.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_framing.h
+-
+stdint.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/utils.h
+
+librabbitmq/amqp.h
+sys/types.h
+-
+stddef.h
+-
+stdint.h
+-
+amqp_framing.h
+-
+
+librabbitmq/amqp_framing.h
+amqp.h
+-
+
+librabbitmq/amqp_tcp_socket.h
+amqp.h
+-
+
diff --git a/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/DependInfo.cmake b/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/DependInfo.cmake
new file mode 100644
index 0000000..4d21b17
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/DependInfo.cmake
@@ -0,0 +1,25 @@
+# The set of languages for which implicit dependencies are needed:
+SET(CMAKE_DEPENDS_LANGUAGES
+ "C"
+ )
+# The set of files for implicit dependencies of each language:
+SET(CMAKE_DEPENDS_CHECK_C
+ "/home2/tcs/librab/build/examples/amqp_rpc_sendstring_client.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o"
+ "/home2/tcs/librab/build/examples/unix/platform_utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.o"
+ "/home2/tcs/librab/build/examples/utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o"
+ )
+SET(CMAKE_C_COMPILER_ID "GNU")
+
+# Targets to which this target links.
+SET(CMAKE_TARGET_LINKED_INFO_FILES
+ "/home2/tcs/librab/build/librabbitmq/CMakeFiles/rabbitmq.dir/DependInfo.cmake"
+ )
+
+# The include file search paths:
+SET(CMAKE_C_TARGET_INCLUDE_PATH
+ "librabbitmq"
+ "examples/unix"
+ )
+SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/build.make b/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/build.make
new file mode 100644
index 0000000..b269f5c
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/build.make
@@ -0,0 +1,160 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The program to use to edit the cache.
+CMAKE_EDIT_COMMAND = /usr/bin/ccmake
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home2/tcs/librab/build
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home2/tcs/librab/build
+
+# Include any dependencies generated for this target.
+include examples/CMakeFiles/amqp_rpc_sendstring_client.dir/depend.make
+
+# Include the progress variables for this target.
+include examples/CMakeFiles/amqp_rpc_sendstring_client.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include examples/CMakeFiles/amqp_rpc_sendstring_client.dir/flags.make
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/flags.make
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o: examples/amqp_rpc_sendstring_client.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_1)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o -c /home2/tcs/librab/build/examples/amqp_rpc_sendstring_client.c
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/amqp_rpc_sendstring_client.c > CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.i
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/amqp_rpc_sendstring_client.c -o CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.s
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o.requires
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o.provides: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_rpc_sendstring_client.dir/build.make examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o.provides
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o.provides.build: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/flags.make
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o: examples/utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_2)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o -c /home2/tcs/librab/build/examples/utils.c
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/utils.c > CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.i
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/utils.c -o CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.s
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o.requires
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o.provides: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_rpc_sendstring_client.dir/build.make examples/CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o.provides
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o.provides.build: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.o: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/flags.make
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_3)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.o -c /home2/tcs/librab/build/examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/unix/platform_utils.c > CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.i
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/unix/platform_utils.c -o CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.s
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.o.requires
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.o.provides: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_rpc_sendstring_client.dir/build.make examples/CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.o.provides
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.o.provides.build: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.o
+
+# Object files for target amqp_rpc_sendstring_client
+amqp_rpc_sendstring_client_OBJECTS = \
+"CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o" \
+"CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o" \
+"CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.o"
+
+# External object files for target amqp_rpc_sendstring_client
+amqp_rpc_sendstring_client_EXTERNAL_OBJECTS =
+
+examples/amqp_rpc_sendstring_client: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o
+examples/amqp_rpc_sendstring_client: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o
+examples/amqp_rpc_sendstring_client: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.o
+examples/amqp_rpc_sendstring_client: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/build.make
+examples/amqp_rpc_sendstring_client: librabbitmq/librabbitmq.so.4.3.1
+examples/amqp_rpc_sendstring_client: /usr/lib64/libssl.so
+examples/amqp_rpc_sendstring_client: /usr/lib64/libcrypto.so
+examples/amqp_rpc_sendstring_client: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/link.txt
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking C executable amqp_rpc_sendstring_client"
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/amqp_rpc_sendstring_client.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/build: examples/amqp_rpc_sendstring_client
+.PHONY : examples/CMakeFiles/amqp_rpc_sendstring_client.dir/build
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/requires: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o.requires
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/requires: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o.requires
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/requires: examples/CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.o.requires
+.PHONY : examples/CMakeFiles/amqp_rpc_sendstring_client.dir/requires
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/clean:
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -P CMakeFiles/amqp_rpc_sendstring_client.dir/cmake_clean.cmake
+.PHONY : examples/CMakeFiles/amqp_rpc_sendstring_client.dir/clean
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/depend:
+ cd /home2/tcs/librab/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : examples/CMakeFiles/amqp_rpc_sendstring_client.dir/depend
+
diff --git a/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/cmake_clean.cmake b/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/cmake_clean.cmake
new file mode 100644
index 0000000..d66c59a
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/cmake_clean.cmake
@@ -0,0 +1,12 @@
+FILE(REMOVE_RECURSE
+ "CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o"
+ "CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o"
+ "CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.o"
+ "amqp_rpc_sendstring_client.pdb"
+ "amqp_rpc_sendstring_client"
+)
+
+# Per-language clean rules from dependency scanning.
+FOREACH(lang C)
+ INCLUDE(CMakeFiles/amqp_rpc_sendstring_client.dir/cmake_clean_${lang}.cmake OPTIONAL)
+ENDFOREACH(lang)
diff --git a/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/depend.internal b/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/depend.internal
new file mode 100644
index 0000000..9991962
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/depend.internal
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o
+ /home2/tcs/librab/build/examples/amqp_rpc_sendstring_client.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
+ librabbitmq/amqp_tcp_socket.h
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.o
+ /home2/tcs/librab/build/examples/unix/platform_utils.c
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o
+ /home2/tcs/librab/build/examples/utils.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
diff --git a/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/depend.make b/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/depend.make
new file mode 100644
index 0000000..2be10d2
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/depend.make
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o: examples/amqp_rpc_sendstring_client.c
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o: examples/utils.h
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o: librabbitmq/amqp_framing.h
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o: librabbitmq/amqp_tcp_socket.h
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o: examples/utils.c
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o: examples/utils.h
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o: librabbitmq/amqp_framing.h
+
diff --git a/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/flags.make b/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/flags.make
new file mode 100644
index 0000000..b3d348b
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# compile C with /bin/cc
+C_FLAGS = -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG -I/home2/tcs/librab/build/librabbitmq -I/home2/tcs/librab/build/examples/unix
+
+C_DEFINES =
+
diff --git a/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/link.txt b/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/link.txt
new file mode 100644
index 0000000..7972076
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/link.txt
@@ -0,0 +1 @@
+/bin/cc -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG CMakeFiles/amqp_rpc_sendstring_client.dir/amqp_rpc_sendstring_client.c.o CMakeFiles/amqp_rpc_sendstring_client.dir/utils.c.o CMakeFiles/amqp_rpc_sendstring_client.dir/unix/platform_utils.c.o -o amqp_rpc_sendstring_client -rdynamic ../librabbitmq/librabbitmq.so.4.3.1 -lssl -lcrypto -lrt -lpthread -Wl,-rpath,/home2/tcs/librab/build/librabbitmq
diff --git a/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/progress.make b/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/progress.make
new file mode 100644
index 0000000..e1f0bce
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_rpc_sendstring_client.dir/progress.make
@@ -0,0 +1,4 @@
+CMAKE_PROGRESS_1 = 22
+CMAKE_PROGRESS_2 = 23
+CMAKE_PROGRESS_3 = 24
+
diff --git a/librab/build/examples/CMakeFiles/amqp_sendstring.dir/C.includecache b/librab/build/examples/CMakeFiles/amqp_sendstring.dir/C.includecache
new file mode 100644
index 0000000..ddc68c4
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_sendstring.dir/C.includecache
@@ -0,0 +1,74 @@
+#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
+
+#IncludeRegexScan: ^.*$
+
+#IncludeRegexComplain: ^$
+
+#IncludeRegexTransform:
+
+/home2/tcs/librab/build/examples/amqp_sendstring.c
+stdint.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_tcp_socket.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/unix/platform_utils.c
+stdint.h
+-
+sys/time.h
+-
+time.h
+-
+unistd.h
+-
+
+/home2/tcs/librab/build/examples/utils.c
+ctype.h
+-
+stdarg.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_framing.h
+-
+stdint.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/utils.h
+
+librabbitmq/amqp.h
+sys/types.h
+-
+stddef.h
+-
+stdint.h
+-
+amqp_framing.h
+-
+
+librabbitmq/amqp_framing.h
+amqp.h
+-
+
+librabbitmq/amqp_tcp_socket.h
+amqp.h
+-
+
diff --git a/librab/build/examples/CMakeFiles/amqp_sendstring.dir/DependInfo.cmake b/librab/build/examples/CMakeFiles/amqp_sendstring.dir/DependInfo.cmake
new file mode 100644
index 0000000..5616694
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_sendstring.dir/DependInfo.cmake
@@ -0,0 +1,25 @@
+# The set of languages for which implicit dependencies are needed:
+SET(CMAKE_DEPENDS_LANGUAGES
+ "C"
+ )
+# The set of files for implicit dependencies of each language:
+SET(CMAKE_DEPENDS_CHECK_C
+ "/home2/tcs/librab/build/examples/amqp_sendstring.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o"
+ "/home2/tcs/librab/build/examples/unix/platform_utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.o"
+ "/home2/tcs/librab/build/examples/utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_sendstring.dir/utils.c.o"
+ )
+SET(CMAKE_C_COMPILER_ID "GNU")
+
+# Targets to which this target links.
+SET(CMAKE_TARGET_LINKED_INFO_FILES
+ "/home2/tcs/librab/build/librabbitmq/CMakeFiles/rabbitmq.dir/DependInfo.cmake"
+ )
+
+# The include file search paths:
+SET(CMAKE_C_TARGET_INCLUDE_PATH
+ "librabbitmq"
+ "examples/unix"
+ )
+SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/librab/build/examples/CMakeFiles/amqp_sendstring.dir/build.make b/librab/build/examples/CMakeFiles/amqp_sendstring.dir/build.make
new file mode 100644
index 0000000..9cc240f
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_sendstring.dir/build.make
@@ -0,0 +1,160 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The program to use to edit the cache.
+CMAKE_EDIT_COMMAND = /usr/bin/ccmake
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home2/tcs/librab/build
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home2/tcs/librab/build
+
+# Include any dependencies generated for this target.
+include examples/CMakeFiles/amqp_sendstring.dir/depend.make
+
+# Include the progress variables for this target.
+include examples/CMakeFiles/amqp_sendstring.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include examples/CMakeFiles/amqp_sendstring.dir/flags.make
+
+examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o: examples/CMakeFiles/amqp_sendstring.dir/flags.make
+examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o: examples/amqp_sendstring.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_1)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o -c /home2/tcs/librab/build/examples/amqp_sendstring.c
+
+examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/amqp_sendstring.c > CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.i
+
+examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/amqp_sendstring.c -o CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.s
+
+examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o.requires
+
+examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o.provides: examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_sendstring.dir/build.make examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o.provides
+
+examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o.provides.build: examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o
+
+examples/CMakeFiles/amqp_sendstring.dir/utils.c.o: examples/CMakeFiles/amqp_sendstring.dir/flags.make
+examples/CMakeFiles/amqp_sendstring.dir/utils.c.o: examples/utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_2)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_sendstring.dir/utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_sendstring.dir/utils.c.o -c /home2/tcs/librab/build/examples/utils.c
+
+examples/CMakeFiles/amqp_sendstring.dir/utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_sendstring.dir/utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/utils.c > CMakeFiles/amqp_sendstring.dir/utils.c.i
+
+examples/CMakeFiles/amqp_sendstring.dir/utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_sendstring.dir/utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/utils.c -o CMakeFiles/amqp_sendstring.dir/utils.c.s
+
+examples/CMakeFiles/amqp_sendstring.dir/utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_sendstring.dir/utils.c.o.requires
+
+examples/CMakeFiles/amqp_sendstring.dir/utils.c.o.provides: examples/CMakeFiles/amqp_sendstring.dir/utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_sendstring.dir/build.make examples/CMakeFiles/amqp_sendstring.dir/utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_sendstring.dir/utils.c.o.provides
+
+examples/CMakeFiles/amqp_sendstring.dir/utils.c.o.provides.build: examples/CMakeFiles/amqp_sendstring.dir/utils.c.o
+
+examples/CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.o: examples/CMakeFiles/amqp_sendstring.dir/flags.make
+examples/CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_3)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.o -c /home2/tcs/librab/build/examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/unix/platform_utils.c > CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.i
+
+examples/CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/unix/platform_utils.c -o CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.s
+
+examples/CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.o.requires
+
+examples/CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.o.provides: examples/CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_sendstring.dir/build.make examples/CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.o.provides
+
+examples/CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.o.provides.build: examples/CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.o
+
+# Object files for target amqp_sendstring
+amqp_sendstring_OBJECTS = \
+"CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o" \
+"CMakeFiles/amqp_sendstring.dir/utils.c.o" \
+"CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.o"
+
+# External object files for target amqp_sendstring
+amqp_sendstring_EXTERNAL_OBJECTS =
+
+examples/amqp_sendstring: examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o
+examples/amqp_sendstring: examples/CMakeFiles/amqp_sendstring.dir/utils.c.o
+examples/amqp_sendstring: examples/CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.o
+examples/amqp_sendstring: examples/CMakeFiles/amqp_sendstring.dir/build.make
+examples/amqp_sendstring: librabbitmq/librabbitmq.so.4.3.1
+examples/amqp_sendstring: /usr/lib64/libssl.so
+examples/amqp_sendstring: /usr/lib64/libcrypto.so
+examples/amqp_sendstring: examples/CMakeFiles/amqp_sendstring.dir/link.txt
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking C executable amqp_sendstring"
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/amqp_sendstring.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+examples/CMakeFiles/amqp_sendstring.dir/build: examples/amqp_sendstring
+.PHONY : examples/CMakeFiles/amqp_sendstring.dir/build
+
+examples/CMakeFiles/amqp_sendstring.dir/requires: examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o.requires
+examples/CMakeFiles/amqp_sendstring.dir/requires: examples/CMakeFiles/amqp_sendstring.dir/utils.c.o.requires
+examples/CMakeFiles/amqp_sendstring.dir/requires: examples/CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.o.requires
+.PHONY : examples/CMakeFiles/amqp_sendstring.dir/requires
+
+examples/CMakeFiles/amqp_sendstring.dir/clean:
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -P CMakeFiles/amqp_sendstring.dir/cmake_clean.cmake
+.PHONY : examples/CMakeFiles/amqp_sendstring.dir/clean
+
+examples/CMakeFiles/amqp_sendstring.dir/depend:
+ cd /home2/tcs/librab/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build/examples/CMakeFiles/amqp_sendstring.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : examples/CMakeFiles/amqp_sendstring.dir/depend
+
diff --git a/librab/build/examples/CMakeFiles/amqp_sendstring.dir/cmake_clean.cmake b/librab/build/examples/CMakeFiles/amqp_sendstring.dir/cmake_clean.cmake
new file mode 100644
index 0000000..9311bbd
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_sendstring.dir/cmake_clean.cmake
@@ -0,0 +1,12 @@
+FILE(REMOVE_RECURSE
+ "CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o"
+ "CMakeFiles/amqp_sendstring.dir/utils.c.o"
+ "CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.o"
+ "amqp_sendstring.pdb"
+ "amqp_sendstring"
+)
+
+# Per-language clean rules from dependency scanning.
+FOREACH(lang C)
+ INCLUDE(CMakeFiles/amqp_sendstring.dir/cmake_clean_${lang}.cmake OPTIONAL)
+ENDFOREACH(lang)
diff --git a/librab/build/examples/CMakeFiles/amqp_sendstring.dir/depend.internal b/librab/build/examples/CMakeFiles/amqp_sendstring.dir/depend.internal
new file mode 100644
index 0000000..12788d0
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_sendstring.dir/depend.internal
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o
+ /home2/tcs/librab/build/examples/amqp_sendstring.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
+ librabbitmq/amqp_tcp_socket.h
+examples/CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.o
+ /home2/tcs/librab/build/examples/unix/platform_utils.c
+examples/CMakeFiles/amqp_sendstring.dir/utils.c.o
+ /home2/tcs/librab/build/examples/utils.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
diff --git a/librab/build/examples/CMakeFiles/amqp_sendstring.dir/depend.make b/librab/build/examples/CMakeFiles/amqp_sendstring.dir/depend.make
new file mode 100644
index 0000000..0ac493c
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_sendstring.dir/depend.make
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o: examples/amqp_sendstring.c
+examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o: examples/utils.h
+examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o: librabbitmq/amqp_framing.h
+examples/CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o: librabbitmq/amqp_tcp_socket.h
+
+examples/CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_sendstring.dir/utils.c.o: examples/utils.c
+examples/CMakeFiles/amqp_sendstring.dir/utils.c.o: examples/utils.h
+examples/CMakeFiles/amqp_sendstring.dir/utils.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_sendstring.dir/utils.c.o: librabbitmq/amqp_framing.h
+
diff --git a/librab/build/examples/CMakeFiles/amqp_sendstring.dir/flags.make b/librab/build/examples/CMakeFiles/amqp_sendstring.dir/flags.make
new file mode 100644
index 0000000..b3d348b
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_sendstring.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# compile C with /bin/cc
+C_FLAGS = -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG -I/home2/tcs/librab/build/librabbitmq -I/home2/tcs/librab/build/examples/unix
+
+C_DEFINES =
+
diff --git a/librab/build/examples/CMakeFiles/amqp_sendstring.dir/link.txt b/librab/build/examples/CMakeFiles/amqp_sendstring.dir/link.txt
new file mode 100644
index 0000000..b8ef8b4
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_sendstring.dir/link.txt
@@ -0,0 +1 @@
+/bin/cc -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG CMakeFiles/amqp_sendstring.dir/amqp_sendstring.c.o CMakeFiles/amqp_sendstring.dir/utils.c.o CMakeFiles/amqp_sendstring.dir/unix/platform_utils.c.o -o amqp_sendstring -rdynamic ../librabbitmq/librabbitmq.so.4.3.1 -lssl -lcrypto -lrt -lpthread -Wl,-rpath,/home2/tcs/librab/build/librabbitmq
diff --git a/librab/build/examples/CMakeFiles/amqp_sendstring.dir/progress.make b/librab/build/examples/CMakeFiles/amqp_sendstring.dir/progress.make
new file mode 100644
index 0000000..1d3b806
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_sendstring.dir/progress.make
@@ -0,0 +1,4 @@
+CMAKE_PROGRESS_1 = 25
+CMAKE_PROGRESS_2 = 26
+CMAKE_PROGRESS_3 = 27
+
diff --git a/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/C.includecache b/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/C.includecache
new file mode 100644
index 0000000..827f513
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/C.includecache
@@ -0,0 +1,80 @@
+#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
+
+#IncludeRegexScan: ^.*$
+
+#IncludeRegexComplain: ^$
+
+#IncludeRegexTransform:
+
+/home2/tcs/librab/build/examples/amqp_ssl_connect.c
+stdint.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_ssl_socket.h
+-
+assert.h
+-
+Winsock2.h
+-
+sys/time.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/unix/platform_utils.c
+stdint.h
+-
+sys/time.h
+-
+time.h
+-
+unistd.h
+-
+
+/home2/tcs/librab/build/examples/utils.c
+ctype.h
+-
+stdarg.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_framing.h
+-
+stdint.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/utils.h
+
+librabbitmq/amqp.h
+sys/types.h
+-
+stddef.h
+-
+stdint.h
+-
+amqp_framing.h
+-
+
+librabbitmq/amqp_framing.h
+amqp.h
+-
+
+librabbitmq/amqp_ssl_socket.h
+amqp.h
+-
+
diff --git a/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/DependInfo.cmake b/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/DependInfo.cmake
new file mode 100644
index 0000000..6a6978d
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/DependInfo.cmake
@@ -0,0 +1,25 @@
+# The set of languages for which implicit dependencies are needed:
+SET(CMAKE_DEPENDS_LANGUAGES
+ "C"
+ )
+# The set of files for implicit dependencies of each language:
+SET(CMAKE_DEPENDS_CHECK_C
+ "/home2/tcs/librab/build/examples/amqp_ssl_connect.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o"
+ "/home2/tcs/librab/build/examples/unix/platform_utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.o"
+ "/home2/tcs/librab/build/examples/utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/utils.c.o"
+ )
+SET(CMAKE_C_COMPILER_ID "GNU")
+
+# Targets to which this target links.
+SET(CMAKE_TARGET_LINKED_INFO_FILES
+ "/home2/tcs/librab/build/librabbitmq/CMakeFiles/rabbitmq.dir/DependInfo.cmake"
+ )
+
+# The include file search paths:
+SET(CMAKE_C_TARGET_INCLUDE_PATH
+ "librabbitmq"
+ "examples/unix"
+ )
+SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/build.make b/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/build.make
new file mode 100644
index 0000000..a8342c9
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/build.make
@@ -0,0 +1,160 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The program to use to edit the cache.
+CMAKE_EDIT_COMMAND = /usr/bin/ccmake
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home2/tcs/librab/build
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home2/tcs/librab/build
+
+# Include any dependencies generated for this target.
+include examples/CMakeFiles/amqp_ssl_connect.dir/depend.make
+
+# Include the progress variables for this target.
+include examples/CMakeFiles/amqp_ssl_connect.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include examples/CMakeFiles/amqp_ssl_connect.dir/flags.make
+
+examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o: examples/CMakeFiles/amqp_ssl_connect.dir/flags.make
+examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o: examples/amqp_ssl_connect.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_1)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o -c /home2/tcs/librab/build/examples/amqp_ssl_connect.c
+
+examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/amqp_ssl_connect.c > CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.i
+
+examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/amqp_ssl_connect.c -o CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.s
+
+examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o.requires
+
+examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o.provides: examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_ssl_connect.dir/build.make examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o.provides
+
+examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o.provides.build: examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o
+
+examples/CMakeFiles/amqp_ssl_connect.dir/utils.c.o: examples/CMakeFiles/amqp_ssl_connect.dir/flags.make
+examples/CMakeFiles/amqp_ssl_connect.dir/utils.c.o: examples/utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_2)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_ssl_connect.dir/utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_ssl_connect.dir/utils.c.o -c /home2/tcs/librab/build/examples/utils.c
+
+examples/CMakeFiles/amqp_ssl_connect.dir/utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_ssl_connect.dir/utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/utils.c > CMakeFiles/amqp_ssl_connect.dir/utils.c.i
+
+examples/CMakeFiles/amqp_ssl_connect.dir/utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_ssl_connect.dir/utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/utils.c -o CMakeFiles/amqp_ssl_connect.dir/utils.c.s
+
+examples/CMakeFiles/amqp_ssl_connect.dir/utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_ssl_connect.dir/utils.c.o.requires
+
+examples/CMakeFiles/amqp_ssl_connect.dir/utils.c.o.provides: examples/CMakeFiles/amqp_ssl_connect.dir/utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_ssl_connect.dir/build.make examples/CMakeFiles/amqp_ssl_connect.dir/utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_ssl_connect.dir/utils.c.o.provides
+
+examples/CMakeFiles/amqp_ssl_connect.dir/utils.c.o.provides.build: examples/CMakeFiles/amqp_ssl_connect.dir/utils.c.o
+
+examples/CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.o: examples/CMakeFiles/amqp_ssl_connect.dir/flags.make
+examples/CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_3)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.o -c /home2/tcs/librab/build/examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/unix/platform_utils.c > CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.i
+
+examples/CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/unix/platform_utils.c -o CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.s
+
+examples/CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.o.requires
+
+examples/CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.o.provides: examples/CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_ssl_connect.dir/build.make examples/CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.o.provides
+
+examples/CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.o.provides.build: examples/CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.o
+
+# Object files for target amqp_ssl_connect
+amqp_ssl_connect_OBJECTS = \
+"CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o" \
+"CMakeFiles/amqp_ssl_connect.dir/utils.c.o" \
+"CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.o"
+
+# External object files for target amqp_ssl_connect
+amqp_ssl_connect_EXTERNAL_OBJECTS =
+
+examples/amqp_ssl_connect: examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o
+examples/amqp_ssl_connect: examples/CMakeFiles/amqp_ssl_connect.dir/utils.c.o
+examples/amqp_ssl_connect: examples/CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.o
+examples/amqp_ssl_connect: examples/CMakeFiles/amqp_ssl_connect.dir/build.make
+examples/amqp_ssl_connect: librabbitmq/librabbitmq.so.4.3.1
+examples/amqp_ssl_connect: /usr/lib64/libssl.so
+examples/amqp_ssl_connect: /usr/lib64/libcrypto.so
+examples/amqp_ssl_connect: examples/CMakeFiles/amqp_ssl_connect.dir/link.txt
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking C executable amqp_ssl_connect"
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/amqp_ssl_connect.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+examples/CMakeFiles/amqp_ssl_connect.dir/build: examples/amqp_ssl_connect
+.PHONY : examples/CMakeFiles/amqp_ssl_connect.dir/build
+
+examples/CMakeFiles/amqp_ssl_connect.dir/requires: examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o.requires
+examples/CMakeFiles/amqp_ssl_connect.dir/requires: examples/CMakeFiles/amqp_ssl_connect.dir/utils.c.o.requires
+examples/CMakeFiles/amqp_ssl_connect.dir/requires: examples/CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.o.requires
+.PHONY : examples/CMakeFiles/amqp_ssl_connect.dir/requires
+
+examples/CMakeFiles/amqp_ssl_connect.dir/clean:
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -P CMakeFiles/amqp_ssl_connect.dir/cmake_clean.cmake
+.PHONY : examples/CMakeFiles/amqp_ssl_connect.dir/clean
+
+examples/CMakeFiles/amqp_ssl_connect.dir/depend:
+ cd /home2/tcs/librab/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : examples/CMakeFiles/amqp_ssl_connect.dir/depend
+
diff --git a/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/cmake_clean.cmake b/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/cmake_clean.cmake
new file mode 100644
index 0000000..bc62bb9
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/cmake_clean.cmake
@@ -0,0 +1,12 @@
+FILE(REMOVE_RECURSE
+ "CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o"
+ "CMakeFiles/amqp_ssl_connect.dir/utils.c.o"
+ "CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.o"
+ "amqp_ssl_connect.pdb"
+ "amqp_ssl_connect"
+)
+
+# Per-language clean rules from dependency scanning.
+FOREACH(lang C)
+ INCLUDE(CMakeFiles/amqp_ssl_connect.dir/cmake_clean_${lang}.cmake OPTIONAL)
+ENDFOREACH(lang)
diff --git a/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/depend.internal b/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/depend.internal
new file mode 100644
index 0000000..bf1006d
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/depend.internal
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o
+ /home2/tcs/librab/build/examples/amqp_ssl_connect.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
+ librabbitmq/amqp_ssl_socket.h
+examples/CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.o
+ /home2/tcs/librab/build/examples/unix/platform_utils.c
+examples/CMakeFiles/amqp_ssl_connect.dir/utils.c.o
+ /home2/tcs/librab/build/examples/utils.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
diff --git a/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/depend.make b/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/depend.make
new file mode 100644
index 0000000..3ca162e
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/depend.make
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o: examples/amqp_ssl_connect.c
+examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o: examples/utils.h
+examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o: librabbitmq/amqp_framing.h
+examples/CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o: librabbitmq/amqp_ssl_socket.h
+
+examples/CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_ssl_connect.dir/utils.c.o: examples/utils.c
+examples/CMakeFiles/amqp_ssl_connect.dir/utils.c.o: examples/utils.h
+examples/CMakeFiles/amqp_ssl_connect.dir/utils.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_ssl_connect.dir/utils.c.o: librabbitmq/amqp_framing.h
+
diff --git a/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/flags.make b/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/flags.make
new file mode 100644
index 0000000..b3d348b
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# compile C with /bin/cc
+C_FLAGS = -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG -I/home2/tcs/librab/build/librabbitmq -I/home2/tcs/librab/build/examples/unix
+
+C_DEFINES =
+
diff --git a/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/link.txt b/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/link.txt
new file mode 100644
index 0000000..d7488d2
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/link.txt
@@ -0,0 +1 @@
+/bin/cc -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG CMakeFiles/amqp_ssl_connect.dir/amqp_ssl_connect.c.o CMakeFiles/amqp_ssl_connect.dir/utils.c.o CMakeFiles/amqp_ssl_connect.dir/unix/platform_utils.c.o -o amqp_ssl_connect -rdynamic ../librabbitmq/librabbitmq.so.4.3.1 -lssl -lcrypto -lrt -lpthread -Wl,-rpath,/home2/tcs/librab/build/librabbitmq
diff --git a/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/progress.make b/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/progress.make
new file mode 100644
index 0000000..04682d3
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_ssl_connect.dir/progress.make
@@ -0,0 +1,4 @@
+CMAKE_PROGRESS_1 = 28
+CMAKE_PROGRESS_2 = 29
+CMAKE_PROGRESS_3 = 30
+
diff --git a/librab/build/examples/CMakeFiles/amqp_unbind.dir/C.includecache b/librab/build/examples/CMakeFiles/amqp_unbind.dir/C.includecache
new file mode 100644
index 0000000..26068b3
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_unbind.dir/C.includecache
@@ -0,0 +1,74 @@
+#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
+
+#IncludeRegexScan: ^.*$
+
+#IncludeRegexComplain: ^$
+
+#IncludeRegexTransform:
+
+/home2/tcs/librab/build/examples/amqp_unbind.c
+stdint.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_tcp_socket.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/unix/platform_utils.c
+stdint.h
+-
+sys/time.h
+-
+time.h
+-
+unistd.h
+-
+
+/home2/tcs/librab/build/examples/utils.c
+ctype.h
+-
+stdarg.h
+-
+stdio.h
+-
+stdlib.h
+-
+string.h
+-
+amqp.h
+-
+amqp_framing.h
+-
+stdint.h
+-
+utils.h
+/home2/tcs/librab/build/examples/utils.h
+
+/home2/tcs/librab/build/examples/utils.h
+
+librabbitmq/amqp.h
+sys/types.h
+-
+stddef.h
+-
+stdint.h
+-
+amqp_framing.h
+-
+
+librabbitmq/amqp_framing.h
+amqp.h
+-
+
+librabbitmq/amqp_tcp_socket.h
+amqp.h
+-
+
diff --git a/librab/build/examples/CMakeFiles/amqp_unbind.dir/DependInfo.cmake b/librab/build/examples/CMakeFiles/amqp_unbind.dir/DependInfo.cmake
new file mode 100644
index 0000000..3c142a5
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_unbind.dir/DependInfo.cmake
@@ -0,0 +1,25 @@
+# The set of languages for which implicit dependencies are needed:
+SET(CMAKE_DEPENDS_LANGUAGES
+ "C"
+ )
+# The set of files for implicit dependencies of each language:
+SET(CMAKE_DEPENDS_CHECK_C
+ "/home2/tcs/librab/build/examples/amqp_unbind.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o"
+ "/home2/tcs/librab/build/examples/unix/platform_utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.o"
+ "/home2/tcs/librab/build/examples/utils.c" "/home2/tcs/librab/build/examples/CMakeFiles/amqp_unbind.dir/utils.c.o"
+ )
+SET(CMAKE_C_COMPILER_ID "GNU")
+
+# Targets to which this target links.
+SET(CMAKE_TARGET_LINKED_INFO_FILES
+ "/home2/tcs/librab/build/librabbitmq/CMakeFiles/rabbitmq.dir/DependInfo.cmake"
+ )
+
+# The include file search paths:
+SET(CMAKE_C_TARGET_INCLUDE_PATH
+ "librabbitmq"
+ "examples/unix"
+ )
+SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/librab/build/examples/CMakeFiles/amqp_unbind.dir/build.make b/librab/build/examples/CMakeFiles/amqp_unbind.dir/build.make
new file mode 100644
index 0000000..7c3c6d0
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_unbind.dir/build.make
@@ -0,0 +1,160 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The program to use to edit the cache.
+CMAKE_EDIT_COMMAND = /usr/bin/ccmake
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home2/tcs/librab/build
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home2/tcs/librab/build
+
+# Include any dependencies generated for this target.
+include examples/CMakeFiles/amqp_unbind.dir/depend.make
+
+# Include the progress variables for this target.
+include examples/CMakeFiles/amqp_unbind.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include examples/CMakeFiles/amqp_unbind.dir/flags.make
+
+examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o: examples/CMakeFiles/amqp_unbind.dir/flags.make
+examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o: examples/amqp_unbind.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_1)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o -c /home2/tcs/librab/build/examples/amqp_unbind.c
+
+examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_unbind.dir/amqp_unbind.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/amqp_unbind.c > CMakeFiles/amqp_unbind.dir/amqp_unbind.c.i
+
+examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_unbind.dir/amqp_unbind.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/amqp_unbind.c -o CMakeFiles/amqp_unbind.dir/amqp_unbind.c.s
+
+examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o.requires
+
+examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o.provides: examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_unbind.dir/build.make examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o.provides
+
+examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o.provides.build: examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o
+
+examples/CMakeFiles/amqp_unbind.dir/utils.c.o: examples/CMakeFiles/amqp_unbind.dir/flags.make
+examples/CMakeFiles/amqp_unbind.dir/utils.c.o: examples/utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_2)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_unbind.dir/utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_unbind.dir/utils.c.o -c /home2/tcs/librab/build/examples/utils.c
+
+examples/CMakeFiles/amqp_unbind.dir/utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_unbind.dir/utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/utils.c > CMakeFiles/amqp_unbind.dir/utils.c.i
+
+examples/CMakeFiles/amqp_unbind.dir/utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_unbind.dir/utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/utils.c -o CMakeFiles/amqp_unbind.dir/utils.c.s
+
+examples/CMakeFiles/amqp_unbind.dir/utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_unbind.dir/utils.c.o.requires
+
+examples/CMakeFiles/amqp_unbind.dir/utils.c.o.provides: examples/CMakeFiles/amqp_unbind.dir/utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_unbind.dir/build.make examples/CMakeFiles/amqp_unbind.dir/utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_unbind.dir/utils.c.o.provides
+
+examples/CMakeFiles/amqp_unbind.dir/utils.c.o.provides.build: examples/CMakeFiles/amqp_unbind.dir/utils.c.o
+
+examples/CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.o: examples/CMakeFiles/amqp_unbind.dir/flags.make
+examples/CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+ $(CMAKE_COMMAND) -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles $(CMAKE_PROGRESS_3)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object examples/CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.o"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.o -c /home2/tcs/librab/build/examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.i"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -E /home2/tcs/librab/build/examples/unix/platform_utils.c > CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.i
+
+examples/CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.s"
+ cd /home2/tcs/librab/build/examples && /bin/cc $(C_DEFINES) $(C_FLAGS) -S /home2/tcs/librab/build/examples/unix/platform_utils.c -o CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.s
+
+examples/CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.o.requires:
+.PHONY : examples/CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.o.requires
+
+examples/CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.o.provides: examples/CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.o.requires
+ $(MAKE) -f examples/CMakeFiles/amqp_unbind.dir/build.make examples/CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.o.provides.build
+.PHONY : examples/CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.o.provides
+
+examples/CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.o.provides.build: examples/CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.o
+
+# Object files for target amqp_unbind
+amqp_unbind_OBJECTS = \
+"CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o" \
+"CMakeFiles/amqp_unbind.dir/utils.c.o" \
+"CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.o"
+
+# External object files for target amqp_unbind
+amqp_unbind_EXTERNAL_OBJECTS =
+
+examples/amqp_unbind: examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o
+examples/amqp_unbind: examples/CMakeFiles/amqp_unbind.dir/utils.c.o
+examples/amqp_unbind: examples/CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.o
+examples/amqp_unbind: examples/CMakeFiles/amqp_unbind.dir/build.make
+examples/amqp_unbind: librabbitmq/librabbitmq.so.4.3.1
+examples/amqp_unbind: /usr/lib64/libssl.so
+examples/amqp_unbind: /usr/lib64/libcrypto.so
+examples/amqp_unbind: examples/CMakeFiles/amqp_unbind.dir/link.txt
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking C executable amqp_unbind"
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/amqp_unbind.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+examples/CMakeFiles/amqp_unbind.dir/build: examples/amqp_unbind
+.PHONY : examples/CMakeFiles/amqp_unbind.dir/build
+
+examples/CMakeFiles/amqp_unbind.dir/requires: examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o.requires
+examples/CMakeFiles/amqp_unbind.dir/requires: examples/CMakeFiles/amqp_unbind.dir/utils.c.o.requires
+examples/CMakeFiles/amqp_unbind.dir/requires: examples/CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.o.requires
+.PHONY : examples/CMakeFiles/amqp_unbind.dir/requires
+
+examples/CMakeFiles/amqp_unbind.dir/clean:
+ cd /home2/tcs/librab/build/examples && $(CMAKE_COMMAND) -P CMakeFiles/amqp_unbind.dir/cmake_clean.cmake
+.PHONY : examples/CMakeFiles/amqp_unbind.dir/clean
+
+examples/CMakeFiles/amqp_unbind.dir/depend:
+ cd /home2/tcs/librab/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build /home2/tcs/librab/build/examples /home2/tcs/librab/build/examples/CMakeFiles/amqp_unbind.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : examples/CMakeFiles/amqp_unbind.dir/depend
+
diff --git a/librab/build/examples/CMakeFiles/amqp_unbind.dir/cmake_clean.cmake b/librab/build/examples/CMakeFiles/amqp_unbind.dir/cmake_clean.cmake
new file mode 100644
index 0000000..ff858fa
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_unbind.dir/cmake_clean.cmake
@@ -0,0 +1,12 @@
+FILE(REMOVE_RECURSE
+ "CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o"
+ "CMakeFiles/amqp_unbind.dir/utils.c.o"
+ "CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.o"
+ "amqp_unbind.pdb"
+ "amqp_unbind"
+)
+
+# Per-language clean rules from dependency scanning.
+FOREACH(lang C)
+ INCLUDE(CMakeFiles/amqp_unbind.dir/cmake_clean_${lang}.cmake OPTIONAL)
+ENDFOREACH(lang)
diff --git a/librab/build/examples/CMakeFiles/amqp_unbind.dir/depend.internal b/librab/build/examples/CMakeFiles/amqp_unbind.dir/depend.internal
new file mode 100644
index 0000000..5626ab2
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_unbind.dir/depend.internal
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o
+ /home2/tcs/librab/build/examples/amqp_unbind.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
+ librabbitmq/amqp_tcp_socket.h
+examples/CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.o
+ /home2/tcs/librab/build/examples/unix/platform_utils.c
+examples/CMakeFiles/amqp_unbind.dir/utils.c.o
+ /home2/tcs/librab/build/examples/utils.c
+ /home2/tcs/librab/build/examples/utils.h
+ librabbitmq/amqp.h
+ librabbitmq/amqp_framing.h
diff --git a/librab/build/examples/CMakeFiles/amqp_unbind.dir/depend.make b/librab/build/examples/CMakeFiles/amqp_unbind.dir/depend.make
new file mode 100644
index 0000000..4e0d941
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_unbind.dir/depend.make
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o: examples/amqp_unbind.c
+examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o: examples/utils.h
+examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o: librabbitmq/amqp_framing.h
+examples/CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o: librabbitmq/amqp_tcp_socket.h
+
+examples/CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.o: examples/unix/platform_utils.c
+
+examples/CMakeFiles/amqp_unbind.dir/utils.c.o: examples/utils.c
+examples/CMakeFiles/amqp_unbind.dir/utils.c.o: examples/utils.h
+examples/CMakeFiles/amqp_unbind.dir/utils.c.o: librabbitmq/amqp.h
+examples/CMakeFiles/amqp_unbind.dir/utils.c.o: librabbitmq/amqp_framing.h
+
diff --git a/librab/build/examples/CMakeFiles/amqp_unbind.dir/flags.make b/librab/build/examples/CMakeFiles/amqp_unbind.dir/flags.make
new file mode 100644
index 0000000..b3d348b
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_unbind.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# compile C with /bin/cc
+C_FLAGS = -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG -I/home2/tcs/librab/build/librabbitmq -I/home2/tcs/librab/build/examples/unix
+
+C_DEFINES =
+
diff --git a/librab/build/examples/CMakeFiles/amqp_unbind.dir/link.txt b/librab/build/examples/CMakeFiles/amqp_unbind.dir/link.txt
new file mode 100644
index 0000000..b000120
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_unbind.dir/link.txt
@@ -0,0 +1 @@
+/bin/cc -Wall -Wextra -Wstrict-prototypes -Wno-unused-function -fno-common -fvisibility=hidden -std=gnu90 -O3 -DNDEBUG CMakeFiles/amqp_unbind.dir/amqp_unbind.c.o CMakeFiles/amqp_unbind.dir/utils.c.o CMakeFiles/amqp_unbind.dir/unix/platform_utils.c.o -o amqp_unbind -rdynamic ../librabbitmq/librabbitmq.so.4.3.1 -lssl -lcrypto -lrt -lpthread -Wl,-rpath,/home2/tcs/librab/build/librabbitmq
diff --git a/librab/build/examples/CMakeFiles/amqp_unbind.dir/progress.make b/librab/build/examples/CMakeFiles/amqp_unbind.dir/progress.make
new file mode 100644
index 0000000..e575b0b
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/amqp_unbind.dir/progress.make
@@ -0,0 +1,4 @@
+CMAKE_PROGRESS_1 = 31
+CMAKE_PROGRESS_2 = 32
+CMAKE_PROGRESS_3 = 33
+
diff --git a/librab/build/examples/CMakeFiles/progress.marks b/librab/build/examples/CMakeFiles/progress.marks
new file mode 100644
index 0000000..abac1ea
--- /dev/null
+++ b/librab/build/examples/CMakeFiles/progress.marks
@@ -0,0 +1 @@
+47
diff --git a/librab/build/examples/CMakeLists.txt b/librab/build/examples/CMakeLists.txt
new file mode 100644
index 0000000..4ea8e93
--- /dev/null
+++ b/librab/build/examples/CMakeLists.txt
@@ -0,0 +1,52 @@
+if (NOT BUILD_SHARED_LIBS)
+ add_definitions(-DAMQP_STATIC)
+endif()
+
+include_directories(${LIBRABBITMQ_INCLUDE_DIRS})
+
+if (WIN32)
+ set(PLATFORM_DIR win32)
+else (WIN32)
+ set(PLATFORM_DIR unix)
+endif (WIN32)
+
+set(COMMON_SRCS
+ utils.h
+ utils.c
+ ${PLATFORM_DIR}/platform_utils.c
+ )
+
+add_executable(amqp_sendstring amqp_sendstring.c ${COMMON_SRCS})
+target_link_libraries(amqp_sendstring ${RMQ_LIBRARY_TARGET})
+
+add_executable(amqp_rpc_sendstring_client amqp_rpc_sendstring_client.c ${COMMON_SRCS})
+target_link_libraries(amqp_rpc_sendstring_client ${RMQ_LIBRARY_TARGET})
+
+add_executable(amqp_exchange_declare amqp_exchange_declare.c ${COMMON_SRCS})
+target_link_libraries(amqp_exchange_declare ${RMQ_LIBRARY_TARGET})
+
+add_executable(amqp_listen amqp_listen.c ${COMMON_SRCS})
+target_link_libraries(amqp_listen ${RMQ_LIBRARY_TARGET})
+
+add_executable(amqp_producer amqp_producer.c ${COMMON_SRCS})
+target_link_libraries(amqp_producer ${RMQ_LIBRARY_TARGET})
+
+add_executable(amqp_connect_timeout amqp_connect_timeout.c ${COMMON_SRCS})
+target_link_libraries(amqp_connect_timeout ${RMQ_LIBRARY_TARGET})
+
+add_executable(amqp_consumer amqp_consumer.c ${COMMON_SRCS})
+target_link_libraries(amqp_consumer ${RMQ_LIBRARY_TARGET})
+
+add_executable(amqp_unbind amqp_unbind.c ${COMMON_SRCS})
+target_link_libraries(amqp_unbind ${RMQ_LIBRARY_TARGET})
+
+add_executable(amqp_bind amqp_bind.c ${COMMON_SRCS})
+target_link_libraries(amqp_bind ${RMQ_LIBRARY_TARGET})
+
+add_executable(amqp_listenq amqp_listenq.c ${COMMON_SRCS})
+target_link_libraries(amqp_listenq ${RMQ_LIBRARY_TARGET})
+
+if (ENABLE_SSL_SUPPORT)
+add_executable(amqp_ssl_connect amqp_ssl_connect.c ${COMMON_SRCS})
+target_link_libraries(amqp_ssl_connect ${RMQ_LIBRARY_TARGET})
+endif (ENABLE_SSL_SUPPORT)
diff --git a/librab/build/examples/amqp_bind.c b/librab/build/examples/amqp_bind.c
new file mode 100644
index 0000000..46371a4
--- /dev/null
+++ b/librab/build/examples/amqp_bind.c
@@ -0,0 +1,95 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Version: MIT
+ *
+ * Portions created by Alan Antonuk are Copyright (c) 2012-2013
+ * Alan Antonuk. All Rights Reserved.
+ *
+ * Portions created by VMware are Copyright (c) 2007-2012 VMware, Inc.
+ * All Rights Reserved.
+ *
+ * Portions created by Tony Garnock-Jones are Copyright (c) 2009-2010
+ * VMware, Inc. and Tony Garnock-Jones. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use, copy,
+ * modify, merge, publish, distribute, sublicense, and/or sell copies
+ * of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ * ***** END LICENSE BLOCK *****
+ */
+
+#include
+#include
+#include
+#include
+
+#include
+#include
+
+#include "utils.h"
+
+int main(int argc, char const *const *argv) {
+ char const *hostname;
+ int port, status;
+ char const *exchange;
+ char const *bindingkey;
+ char const *queue;
+ amqp_socket_t *socket = NULL;
+ amqp_connection_state_t conn;
+
+ if (argc < 6) {
+ fprintf(stderr, "Usage: amqp_bind host port exchange bindingkey queue\n");
+ return 1;
+ }
+
+ hostname = argv[1];
+ port = atoi(argv[2]);
+ exchange = argv[3];
+ bindingkey = argv[4];
+ queue = argv[5];
+
+ conn = amqp_new_connection();
+
+ socket = amqp_tcp_socket_new(conn);
+ if (!socket) {
+ die("creating TCP socket");
+ }
+
+ status = amqp_socket_open(socket, hostname, port);
+ if (status) {
+ die("opening TCP socket");
+ }
+
+ die_on_amqp_error(amqp_login(conn, "/", 0, 131072, 0, AMQP_SASL_METHOD_PLAIN,
+ "guest", "guest"),
+ "Logging in");
+ amqp_channel_open(conn, 1);
+ die_on_amqp_error(amqp_get_rpc_reply(conn), "Opening channel");
+
+ amqp_queue_bind(conn, 1, amqp_cstring_bytes(queue),
+ amqp_cstring_bytes(exchange), amqp_cstring_bytes(bindingkey),
+ amqp_empty_table);
+ die_on_amqp_error(amqp_get_rpc_reply(conn), "Unbinding");
+
+ die_on_amqp_error(amqp_channel_close(conn, 1, AMQP_REPLY_SUCCESS),
+ "Closing channel");
+ die_on_amqp_error(amqp_connection_close(conn, AMQP_REPLY_SUCCESS),
+ "Closing connection");
+ die_on_error(amqp_destroy_connection(conn), "Ending connection");
+ return 0;
+}
diff --git a/librab/build/examples/amqp_connect_timeout.c b/librab/build/examples/amqp_connect_timeout.c
new file mode 100644
index 0000000..21bd02e
--- /dev/null
+++ b/librab/build/examples/amqp_connect_timeout.c
@@ -0,0 +1,114 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Version: MIT
+ *
+ * Portions created by Alan Antonuk are Copyright (c) 2012-2013
+ * Alan Antonuk. All Rights Reserved.
+ *
+ * Portions created by Bogdan Padalko are Copyright (c) 2013.
+ * Bogdan Padalko. All Rights Reserved.
+ *
+ * Portions created by VMware are Copyright (c) 2007-2012 VMware, Inc.
+ * All Rights Reserved.
+ *
+ * Portions created by Tony Garnock-Jones are Copyright (c) 2009-2010
+ * VMware, Inc. and Tony Garnock-Jones. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use, copy,
+ * modify, merge, publish, distribute, sublicense, and/or sell copies
+ * of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ * ***** END LICENSE BLOCK *****
+ */
+
+#include
+#include
+#include
+#include
+
+#include
+#include
+
+#include
+
+#ifdef _WIN32
+#ifndef WIN32_LEAN_AND_MEAN
+#define WIN32_LEAN_AND_MEAN
+#endif
+#include
+#else
+#include
+#endif
+
+#include "utils.h"
+
+int main(int argc, char const *const *argv) {
+ char const *hostname;
+ int port;
+ amqp_socket_t *socket;
+ amqp_connection_state_t conn;
+ struct timeval tval;
+ struct timeval *tv;
+
+ if (argc < 3) {
+ fprintf(stderr,
+ "Usage: amqp_connect_timeout host port [timeout_sec "
+ "[timeout_usec=0]]\n");
+ return 1;
+ }
+
+ if (argc > 3) {
+ tv = &tval;
+
+ tv->tv_sec = atoi(argv[3]);
+
+ if (argc > 4) {
+ tv->tv_usec = atoi(argv[4]);
+ } else {
+ tv->tv_usec = 0;
+ }
+
+ } else {
+ tv = NULL;
+ }
+
+ hostname = argv[1];
+ port = atoi(argv[2]);
+
+ conn = amqp_new_connection();
+
+ socket = amqp_tcp_socket_new(conn);
+
+ if (!socket) {
+ die("creating TCP socket");
+ }
+
+ die_on_error(amqp_socket_open_noblock(socket, hostname, port, tv),
+ "opening TCP socket");
+
+ die_on_amqp_error(amqp_login(conn, "/", 0, 131072, 0, AMQP_SASL_METHOD_PLAIN,
+ "guest", "guest"),
+ "Logging in");
+
+ die_on_amqp_error(amqp_connection_close(conn, AMQP_REPLY_SUCCESS),
+ "Closing connection");
+ die_on_error(amqp_destroy_connection(conn), "Ending connection");
+
+ printf("Done\n");
+ return 0;
+}
diff --git a/librab/build/examples/amqp_consumer.c b/librab/build/examples/amqp_consumer.c
new file mode 100644
index 0000000..93c7a21
--- /dev/null
+++ b/librab/build/examples/amqp_consumer.c
@@ -0,0 +1,215 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Version: MIT
+ *
+ * Portions created by Alan Antonuk are Copyright (c) 2012-2013
+ * Alan Antonuk. All Rights Reserved.
+ *
+ * Portions created by VMware are Copyright (c) 2007-2012 VMware, Inc.
+ * All Rights Reserved.
+ *
+ * Portions created by Tony Garnock-Jones are Copyright (c) 2009-2010
+ * VMware, Inc. and Tony Garnock-Jones. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use, copy,
+ * modify, merge, publish, distribute, sublicense, and/or sell copies
+ * of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ * ***** END LICENSE BLOCK *****
+ */
+
+#include
+#include
+#include
+#include
+
+#include
+#include
+
+#include
+
+#include "utils.h"
+
+#define SUMMARY_EVERY_US 1000000
+
+static void run(amqp_connection_state_t conn) {
+ uint64_t start_time = now_microseconds();
+ int received = 0;
+ int previous_received = 0;
+ uint64_t previous_report_time = start_time;
+ uint64_t next_summary_time = start_time + SUMMARY_EVERY_US;
+
+ amqp_frame_t frame;
+
+ uint64_t now;
+
+ for (;;) {
+ amqp_rpc_reply_t ret;
+ amqp_envelope_t envelope;
+
+ now = now_microseconds();
+ if (now > next_summary_time) {
+ int countOverInterval = received - previous_received;
+ double intervalRate =
+ countOverInterval / ((now - previous_report_time) / 1000000.0);
+ printf("%d ms: Received %d - %d since last report (%d Hz)\n",
+ (int)(now - start_time) / 1000, received, countOverInterval,
+ (int)intervalRate);
+
+ previous_received = received;
+ previous_report_time = now;
+ next_summary_time += SUMMARY_EVERY_US;
+ }
+
+ amqp_maybe_release_buffers(conn);
+ ret = amqp_consume_message(conn, &envelope, NULL, 0);
+
+ if (AMQP_RESPONSE_NORMAL != ret.reply_type) {
+ if (AMQP_RESPONSE_LIBRARY_EXCEPTION == ret.reply_type &&
+ AMQP_STATUS_UNEXPECTED_STATE == ret.library_error) {
+ if (AMQP_STATUS_OK != amqp_simple_wait_frame(conn, &frame)) {
+ return;
+ }
+
+ if (AMQP_FRAME_METHOD == frame.frame_type) {
+ switch (frame.payload.method.id) {
+ case AMQP_BASIC_ACK_METHOD:
+ /* if we've turned publisher confirms on, and we've published a
+ * message here is a message being confirmed.
+ */
+ break;
+ case AMQP_BASIC_RETURN_METHOD:
+ /* if a published message couldn't be routed and the mandatory
+ * flag was set this is what would be returned. The message then
+ * needs to be read.
+ */
+ {
+ amqp_message_t message;
+ ret = amqp_read_message(conn, frame.channel, &message, 0);
+ if (AMQP_RESPONSE_NORMAL != ret.reply_type) {
+ return;
+ }
+
+ amqp_destroy_message(&message);
+ }
+
+ break;
+
+ case AMQP_CHANNEL_CLOSE_METHOD:
+ /* a channel.close method happens when a channel exception occurs,
+ * this can happen by publishing to an exchange that doesn't exist
+ * for example.
+ *
+ * In this case you would need to open another channel redeclare
+ * any queues that were declared auto-delete, and restart any
+ * consumers that were attached to the previous channel.
+ */
+ return;
+
+ case AMQP_CONNECTION_CLOSE_METHOD:
+ /* a connection.close method happens when a connection exception
+ * occurs, this can happen by trying to use a channel that isn't
+ * open for example.
+ *
+ * In this case the whole connection must be restarted.
+ */
+ return;
+
+ default:
+ fprintf(stderr, "An unexpected method was received %u\n",
+ frame.payload.method.id);
+ return;
+ }
+ }
+ }
+
+ } else {
+ amqp_destroy_envelope(&envelope);
+ }
+
+ received++;
+ }
+}
+
+int main(int argc, char const *const *argv) {
+ char const *hostname;
+ int port, status;
+ char const *exchange;
+ char const *bindingkey;
+ amqp_socket_t *socket = NULL;
+ amqp_connection_state_t conn;
+
+ amqp_bytes_t queuename;
+
+ if (argc < 3) {
+ fprintf(stderr, "Usage: amqp_consumer host port\n");
+ return 1;
+ }
+
+ hostname = argv[1];
+ port = atoi(argv[2]);
+ exchange = "amq.direct"; /* argv[3]; */
+ bindingkey = "test queue"; /* argv[4]; */
+
+ conn = amqp_new_connection();
+
+ socket = amqp_tcp_socket_new(conn);
+ if (!socket) {
+ die("creating TCP socket");
+ }
+
+ status = amqp_socket_open(socket, hostname, port);
+ if (status) {
+ die("opening TCP socket");
+ }
+
+ die_on_amqp_error(amqp_login(conn, "/", 0, 131072, 0, AMQP_SASL_METHOD_PLAIN,
+ "guest", "guest"),
+ "Logging in");
+ amqp_channel_open(conn, 1);
+ die_on_amqp_error(amqp_get_rpc_reply(conn), "Opening channel");
+
+ {
+ amqp_queue_declare_ok_t *r = amqp_queue_declare(
+ conn, 1, amqp_empty_bytes, 0, 0, 0, 1, amqp_empty_table);
+ die_on_amqp_error(amqp_get_rpc_reply(conn), "Declaring queue");
+ queuename = amqp_bytes_malloc_dup(r->queue);
+ if (queuename.bytes == NULL) {
+ fprintf(stderr, "Out of memory while copying queue name");
+ return 1;
+ }
+ }
+
+ amqp_queue_bind(conn, 1, queuename, amqp_cstring_bytes(exchange),
+ amqp_cstring_bytes(bindingkey), amqp_empty_table);
+ die_on_amqp_error(amqp_get_rpc_reply(conn), "Binding queue");
+
+ amqp_basic_consume(conn, 1, queuename, amqp_empty_bytes, 0, 1, 0,
+ amqp_empty_table);
+ die_on_amqp_error(amqp_get_rpc_reply(conn), "Consuming");
+
+ run(conn);
+
+ die_on_amqp_error(amqp_channel_close(conn, 1, AMQP_REPLY_SUCCESS),
+ "Closing channel");
+ die_on_amqp_error(amqp_connection_close(conn, AMQP_REPLY_SUCCESS),
+ "Closing connection");
+ die_on_error(amqp_destroy_connection(conn), "Ending connection");
+
+ return 0;
+}
diff --git a/librab/build/examples/amqp_exchange_declare.c b/librab/build/examples/amqp_exchange_declare.c
new file mode 100644
index 0000000..2199a0b
--- /dev/null
+++ b/librab/build/examples/amqp_exchange_declare.c
@@ -0,0 +1,94 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Version: MIT
+ *
+ * Portions created by Alan Antonuk are Copyright (c) 2012-2013
+ * Alan Antonuk. All Rights Reserved.
+ *
+ * Portions created by VMware are Copyright (c) 2007-2012 VMware, Inc.
+ * All Rights Reserved.
+ *
+ * Portions created by Tony Garnock-Jones are Copyright (c) 2009-2010
+ * VMware, Inc. and Tony Garnock-Jones. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use, copy,
+ * modify, merge, publish, distribute, sublicense, and/or sell copies
+ * of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ * ***** END LICENSE BLOCK *****
+ */
+
+#include
+#include
+#include
+#include
+
+#include
+#include
+
+#include "utils.h"
+
+int main(int argc, char const *const *argv) {
+ char const *hostname;
+ int port, status;
+ char const *exchange;
+ char const *exchangetype;
+ amqp_socket_t *socket = NULL;
+ amqp_connection_state_t conn;
+
+ if (argc < 5) {
+ fprintf(stderr,
+ "Usage: amqp_exchange_declare host port exchange exchangetype\n");
+ return 1;
+ }
+
+ hostname = argv[1];
+ port = atoi(argv[2]);
+ exchange = argv[3];
+ exchangetype = argv[4];
+
+ conn = amqp_new_connection();
+
+ socket = amqp_tcp_socket_new(conn);
+ if (!socket) {
+ die("creating TCP socket");
+ }
+
+ status = amqp_socket_open(socket, hostname, port);
+ if (status) {
+ die("opening TCP socket");
+ }
+
+ die_on_amqp_error(amqp_login(conn, "/", 0, 131072, 0, AMQP_SASL_METHOD_PLAIN,
+ "guest", "guest"),
+ "Logging in");
+ amqp_channel_open(conn, 1);
+ die_on_amqp_error(amqp_get_rpc_reply(conn), "Opening channel");
+
+ amqp_exchange_declare(conn, 1, amqp_cstring_bytes(exchange),
+ amqp_cstring_bytes(exchangetype), 0, 0, 0, 0,
+ amqp_empty_table);
+ die_on_amqp_error(amqp_get_rpc_reply(conn), "Declaring exchange");
+
+ die_on_amqp_error(amqp_channel_close(conn, 1, AMQP_REPLY_SUCCESS),
+ "Closing channel");
+ die_on_amqp_error(amqp_connection_close(conn, AMQP_REPLY_SUCCESS),
+ "Closing connection");
+ die_on_error(amqp_destroy_connection(conn), "Ending connection");
+ return 0;
+}
diff --git a/librab/build/examples/amqp_listen.c b/librab/build/examples/amqp_listen.c
new file mode 100644
index 0000000..9026226
--- /dev/null
+++ b/librab/build/examples/amqp_listen.c
@@ -0,0 +1,143 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Version: MIT
+ *
+ * Portions created by Alan Antonuk are Copyright (c) 2012-2013
+ * Alan Antonuk. All Rights Reserved.
+ *
+ * Portions created by VMware are Copyright (c) 2007-2012 VMware, Inc.
+ * All Rights Reserved.
+ *
+ * Portions created by Tony Garnock-Jones are Copyright (c) 2009-2010
+ * VMware, Inc. and Tony Garnock-Jones. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use, copy,
+ * modify, merge, publish, distribute, sublicense, and/or sell copies
+ * of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ * ***** END LICENSE BLOCK *****
+ */
+
+#include
+#include
+#include
+#include
+
+#include
+#include
+
+#include
+
+#include "utils.h"
+
+int main(int argc, char const *const *argv) {
+ char const *hostname;
+ int port, status;
+ char const *exchange;
+ char const *bindingkey;
+ amqp_socket_t *socket = NULL;
+ amqp_connection_state_t conn;
+
+ amqp_bytes_t queuename;
+
+ if (argc < 5) {
+ fprintf(stderr, "Usage: amqp_listen host port exchange bindingkey\n");
+ return 1;
+ }
+
+ hostname = argv[1];
+ port = atoi(argv[2]);
+ exchange = argv[3];
+ bindingkey = argv[4];
+
+ conn = amqp_new_connection();
+
+ socket = amqp_tcp_socket_new(conn);
+ if (!socket) {
+ die("creating TCP socket");
+ }
+
+ status = amqp_socket_open(socket, hostname, port);
+ if (status) {
+ die("opening TCP socket");
+ }
+
+ die_on_amqp_error(amqp_login(conn, "/", 0, 131072, 0, AMQP_SASL_METHOD_PLAIN,
+ "guest", "guest"),
+ "Logging in");
+ amqp_channel_open(conn, 1);
+ die_on_amqp_error(amqp_get_rpc_reply(conn), "Opening channel");
+
+ {
+ amqp_queue_declare_ok_t *r = amqp_queue_declare(
+ conn, 1, amqp_empty_bytes, 0, 0, 0, 1, amqp_empty_table);
+ die_on_amqp_error(amqp_get_rpc_reply(conn), "Declaring queue");
+ queuename = amqp_bytes_malloc_dup(r->queue);
+ if (queuename.bytes == NULL) {
+ fprintf(stderr, "Out of memory while copying queue name");
+ return 1;
+ }
+ }
+
+ amqp_queue_bind(conn, 1, queuename, amqp_cstring_bytes(exchange),
+ amqp_cstring_bytes(bindingkey), amqp_empty_table);
+ die_on_amqp_error(amqp_get_rpc_reply(conn), "Binding queue");
+
+ amqp_basic_consume(conn, 1, queuename, amqp_empty_bytes, 0, 1, 0,
+ amqp_empty_table);
+ die_on_amqp_error(amqp_get_rpc_reply(conn), "Consuming");
+
+ {
+ for (;;) {
+ amqp_rpc_reply_t res;
+ amqp_envelope_t envelope;
+
+ amqp_maybe_release_buffers(conn);
+
+ res = amqp_consume_message(conn, &envelope, NULL, 0);
+
+ if (AMQP_RESPONSE_NORMAL != res.reply_type) {
+ break;
+ }
+
+ printf("Delivery %u, exchange %.*s routingkey %.*s\n",
+ (unsigned)envelope.delivery_tag, (int)envelope.exchange.len,
+ (char *)envelope.exchange.bytes, (int)envelope.routing_key.len,
+ (char *)envelope.routing_key.bytes);
+
+ if (envelope.message.properties._flags & AMQP_BASIC_CONTENT_TYPE_FLAG) {
+ printf("Content-type: %.*s\n",
+ (int)envelope.message.properties.content_type.len,
+ (char *)envelope.message.properties.content_type.bytes);
+ }
+ printf("----\n");
+
+ amqp_dump(envelope.message.body.bytes, envelope.message.body.len);
+
+ amqp_destroy_envelope(&envelope);
+ }
+ }
+
+ die_on_amqp_error(amqp_channel_close(conn, 1, AMQP_REPLY_SUCCESS),
+ "Closing channel");
+ die_on_amqp_error(amqp_connection_close(conn, AMQP_REPLY_SUCCESS),
+ "Closing connection");
+ die_on_error(amqp_destroy_connection(conn), "Ending connection");
+
+ return 0;
+}
diff --git a/librab/build/examples/amqp_listenq.c b/librab/build/examples/amqp_listenq.c
new file mode 100644
index 0000000..624dc5c
--- /dev/null
+++ b/librab/build/examples/amqp_listenq.c
@@ -0,0 +1,122 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Version: MIT
+ *
+ * Portions created by Alan Antonuk are Copyright (c) 2012-2013
+ * Alan Antonuk. All Rights Reserved.
+ *
+ * Portions created by VMware are Copyright (c) 2007-2012 VMware, Inc.
+ * All Rights Reserved.
+ *
+ * Portions created by Tony Garnock-Jones are Copyright (c) 2009-2010
+ * VMware, Inc. and Tony Garnock-Jones. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use, copy,
+ * modify, merge, publish, distribute, sublicense, and/or sell copies
+ * of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ * ***** END LICENSE BLOCK *****
+ */
+
+#include
+#include
+#include
+#include
+
+#include
+#include
+
+#include
+
+#include "utils.h"
+
+int main(int argc, char const *const *argv) {
+ char const *hostname;
+ int port, status;
+ char const *queuename;
+ amqp_socket_t *socket = NULL;
+ amqp_connection_state_t conn;
+
+ if (argc < 4) {
+ fprintf(stderr, "Usage: amqp_listenq host port queuename\n");
+ return 1;
+ }
+
+ hostname = argv[1];
+ port = atoi(argv[2]);
+ queuename = argv[3];
+
+ conn = amqp_new_connection();
+
+ socket = amqp_tcp_socket_new(conn);
+ if (!socket) {
+ die("creating TCP socket");
+ }
+
+ status = amqp_socket_open(socket, hostname, port);
+ if (status) {
+ die("opening TCP socket");
+ }
+
+ die_on_amqp_error(amqp_login(conn, "/", 0, 131072, 0, AMQP_SASL_METHOD_PLAIN,
+ "guest", "guest"),
+ "Logging in");
+ amqp_channel_open(conn, 1);
+ die_on_amqp_error(amqp_get_rpc_reply(conn), "Opening channel");
+
+ amqp_basic_consume(conn, 1, amqp_cstring_bytes(queuename), amqp_empty_bytes,
+ 0, 0, 0, amqp_empty_table);
+ die_on_amqp_error(amqp_get_rpc_reply(conn), "Consuming");
+
+ for (;;) {
+ amqp_rpc_reply_t res;
+ amqp_envelope_t envelope;
+
+ amqp_maybe_release_buffers(conn);
+
+ res = amqp_consume_message(conn, &envelope, NULL, 0);
+
+ if (AMQP_RESPONSE_NORMAL != res.reply_type) {
+ break;
+ }
+
+ printf("Delivery %u, exchange %.*s routingkey %.*s\n",
+ (unsigned)envelope.delivery_tag, (int)envelope.exchange.len,
+ (char *)envelope.exchange.bytes, (int)envelope.routing_key.len,
+ (char *)envelope.routing_key.bytes);
+
+ if (envelope.message.properties._flags & AMQP_BASIC_CONTENT_TYPE_FLAG) {
+ printf("Content-type: %.*s\n",
+ (int)envelope.message.properties.content_type.len,
+ (char *)envelope.message.properties.content_type.bytes);
+ }
+ printf("----\n");
+
+ amqp_dump(envelope.message.body.bytes, envelope.message.body.len);
+
+ amqp_destroy_envelope(&envelope);
+ }
+
+ die_on_amqp_error(amqp_channel_close(conn, 1, AMQP_REPLY_SUCCESS),
+ "Closing channel");
+ die_on_amqp_error(amqp_connection_close(conn, AMQP_REPLY_SUCCESS),
+ "Closing connection");
+ die_on_error(amqp_destroy_connection(conn), "Ending connection");
+
+ return 0;
+}
diff --git a/librab/build/examples/amqp_producer.c b/librab/build/examples/amqp_producer.c
new file mode 100644
index 0000000..6e78fcb
--- /dev/null
+++ b/librab/build/examples/amqp_producer.c
@@ -0,0 +1,150 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Version: MIT
+ *
+ * Portions created by Alan Antonuk are Copyright (c) 2012-2013
+ * Alan Antonuk. All Rights Reserved.
+ *
+ * Portions created by VMware are Copyright (c) 2007-2012 VMware, Inc.
+ * All Rights Reserved.
+ *
+ * Portions created by Tony Garnock-Jones are Copyright (c) 2009-2010
+ * VMware, Inc. and Tony Garnock-Jones. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use, copy,
+ * modify, merge, publish, distribute, sublicense, and/or sell copies
+ * of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ * ***** END LICENSE BLOCK *****
+ */
+
+#include
+#include
+#include
+#include
+
+#include
+#include
+
+#include "utils.h"
+
+#define SUMMARY_EVERY_US 1000000
+
+static void send_batch(amqp_connection_state_t conn, char const *queue_name,
+ int rate_limit, int message_count) {
+ uint64_t start_time = now_microseconds();
+ int i;
+ int sent = 0;
+ int previous_sent = 0;
+ uint64_t previous_report_time = start_time;
+ uint64_t next_summary_time = start_time + SUMMARY_EVERY_US;
+
+ char message[256];
+ amqp_bytes_t message_bytes;
+
+ for (i = 0; i < (int)sizeof(message); i++) {
+ message[i] = i & 0xff;
+ }
+
+ message_bytes.len = sizeof(message);
+ message_bytes.bytes = message;
+
+ for (i = 0; i < message_count; i++) {
+ uint64_t now = now_microseconds();
+
+ die_on_error(amqp_basic_publish(conn, 1, amqp_cstring_bytes("amq.direct"),
+ amqp_cstring_bytes(queue_name), 0, 0, NULL,
+ message_bytes),
+ "Publishing");
+ sent++;
+ if (now > next_summary_time) {
+ int countOverInterval = sent - previous_sent;
+ double intervalRate =
+ countOverInterval / ((now - previous_report_time) / 1000000.0);
+ printf("%d ms: Sent %d - %d since last report (%d Hz)\n",
+ (int)(now - start_time) / 1000, sent, countOverInterval,
+ (int)intervalRate);
+
+ previous_sent = sent;
+ previous_report_time = now;
+ next_summary_time += SUMMARY_EVERY_US;
+ }
+
+ while (((i * 1000000.0) / (now - start_time)) > rate_limit) {
+ microsleep(2000);
+ now = now_microseconds();
+ }
+ }
+
+ {
+ uint64_t stop_time = now_microseconds();
+ int total_delta = (int)(stop_time - start_time);
+
+ printf("PRODUCER - Message count: %d\n", message_count);
+ printf("Total time, milliseconds: %d\n", total_delta / 1000);
+ printf("Overall messages-per-second: %g\n",
+ (message_count / (total_delta / 1000000.0)));
+ }
+}
+
+int main(int argc, char const *const *argv) {
+ char const *hostname;
+ int port, status;
+ int rate_limit;
+ int message_count;
+ amqp_socket_t *socket = NULL;
+ amqp_connection_state_t conn;
+
+ if (argc < 5) {
+ fprintf(stderr,
+ "Usage: amqp_producer host port rate_limit message_count\n");
+ return 1;
+ }
+
+ hostname = argv[1];
+ port = atoi(argv[2]);
+ rate_limit = atoi(argv[3]);
+ message_count = atoi(argv[4]);
+
+ conn = amqp_new_connection();
+
+ socket = amqp_tcp_socket_new(conn);
+ if (!socket) {
+ die("creating TCP socket");
+ }
+
+ status = amqp_socket_open(socket, hostname, port);
+ if (status) {
+ die("opening TCP socket");
+ }
+
+ die_on_amqp_error(amqp_login(conn, "/", 0, 131072, 0, AMQP_SASL_METHOD_PLAIN,
+ "guest", "guest"),
+ "Logging in");
+ amqp_channel_open(conn, 1);
+ die_on_amqp_error(amqp_get_rpc_reply(conn), "Opening channel");
+
+ send_batch(conn, "test queue", rate_limit, message_count);
+
+ die_on_amqp_error(amqp_channel_close(conn, 1, AMQP_REPLY_SUCCESS),
+ "Closing channel");
+ die_on_amqp_error(amqp_connection_close(conn, AMQP_REPLY_SUCCESS),
+ "Closing connection");
+ die_on_error(amqp_destroy_connection(conn), "Ending connection");
+ return 0;
+}
diff --git a/librab/build/examples/amqp_rpc_sendstring_client.c b/librab/build/examples/amqp_rpc_sendstring_client.c
new file mode 100644
index 0000000..59918e5
--- /dev/null
+++ b/librab/build/examples/amqp_rpc_sendstring_client.c
@@ -0,0 +1,243 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Version: MIT
+ *
+ * Portions created by Alan Antonuk are Copyright (c) 2012-2013
+ * Alan Antonuk. All Rights Reserved.
+ *
+ * Portions created by VMware are Copyright (c) 2007-2012 VMware, Inc.
+ * All Rights Reserved.
+ *
+ * Portions created by Tony Garnock-Jones are Copyright (c) 2009-2010
+ * VMware, Inc. and Tony Garnock-Jones. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use, copy,
+ * modify, merge, publish, distribute, sublicense, and/or sell copies
+ * of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ * ***** END LICENSE BLOCK *****
+ */
+
+#include
+#include
+#include
+#include
+
+#include
+#include
+
+#include
+
+#include "utils.h"
+
+int main(int argc, char *argv[]) {
+ char const *hostname;
+ int port, status;
+ char const *exchange;
+ char const *routingkey;
+ char const *messagebody;
+ amqp_socket_t *socket = NULL;
+ amqp_connection_state_t conn;
+ amqp_bytes_t reply_to_queue;
+
+ if (argc < 6) { /* minimum number of mandatory arguments */
+ fprintf(stderr,
+ "usage:\namqp_rpc_sendstring_client host port exchange routingkey "
+ "messagebody\n");
+ return 1;
+ }
+
+ hostname = argv[1];
+ port = atoi(argv[2]);
+ exchange = argv[3];
+ routingkey = argv[4];
+ messagebody = argv[5];
+
+ /*
+ establish a channel that is used to connect RabbitMQ server
+ */
+
+ conn = amqp_new_connection();
+
+ socket = amqp_tcp_socket_new(conn);
+ if (!socket) {
+ die("creating TCP socket");
+ }
+
+ status = amqp_socket_open(socket, hostname, port);
+ if (status) {
+ die("opening TCP socket");
+ }
+
+ die_on_amqp_error(amqp_login(conn, "/", 0, 131072, 0, AMQP_SASL_METHOD_PLAIN,
+ "guest", "guest"),
+ "Logging in");
+ amqp_channel_open(conn, 1);
+ die_on_amqp_error(amqp_get_rpc_reply(conn), "Opening channel");
+
+ /*
+ create private reply_to queue
+ */
+
+ {
+ amqp_queue_declare_ok_t *r = amqp_queue_declare(
+ conn, 1, amqp_empty_bytes, 0, 0, 0, 1, amqp_empty_table);
+ die_on_amqp_error(amqp_get_rpc_reply(conn), "Declaring queue");
+ reply_to_queue = amqp_bytes_malloc_dup(r->queue);
+ if (reply_to_queue.bytes == NULL) {
+ fprintf(stderr, "Out of memory while copying queue name");
+ return 1;
+ }
+ }
+
+ /*
+ send the message
+ */
+
+ {
+ /*
+ set properties
+ */
+ amqp_basic_properties_t props;
+ props._flags = AMQP_BASIC_CONTENT_TYPE_FLAG |
+ AMQP_BASIC_DELIVERY_MODE_FLAG | AMQP_BASIC_REPLY_TO_FLAG |
+ AMQP_BASIC_CORRELATION_ID_FLAG;
+ props.content_type = amqp_cstring_bytes("text/plain");
+ props.delivery_mode = 2; /* persistent delivery mode */
+ props.reply_to = amqp_bytes_malloc_dup(reply_to_queue);
+ if (props.reply_to.bytes == NULL) {
+ fprintf(stderr, "Out of memory while copying queue name");
+ return 1;
+ }
+ props.correlation_id = amqp_cstring_bytes("1");
+
+ /*
+ publish
+ */
+ die_on_error(amqp_basic_publish(conn, 1, amqp_cstring_bytes(exchange),
+ amqp_cstring_bytes(routingkey), 0, 0,
+ &props, amqp_cstring_bytes(messagebody)),
+ "Publishing");
+
+ amqp_bytes_free(props.reply_to);
+ }
+
+ /*
+ wait an answer
+ */
+
+ {
+ amqp_basic_consume(conn, 1, reply_to_queue, amqp_empty_bytes, 0, 1, 0,
+ amqp_empty_table);
+ die_on_amqp_error(amqp_get_rpc_reply(conn), "Consuming");
+ amqp_bytes_free(reply_to_queue);
+
+ {
+ amqp_frame_t frame;
+ int result;
+
+ amqp_basic_deliver_t *d;
+ amqp_basic_properties_t *p;
+ size_t body_target;
+ size_t body_received;
+
+ for (;;) {
+ amqp_maybe_release_buffers(conn);
+ result = amqp_simple_wait_frame(conn, &frame);
+ printf("Result: %d\n", result);
+ if (result < 0) {
+ break;
+ }
+
+ printf("Frame type: %u channel: %u\n", frame.frame_type, frame.channel);
+ if (frame.frame_type != AMQP_FRAME_METHOD) {
+ continue;
+ }
+
+ printf("Method: %s\n", amqp_method_name(frame.payload.method.id));
+ if (frame.payload.method.id != AMQP_BASIC_DELIVER_METHOD) {
+ continue;
+ }
+
+ d = (amqp_basic_deliver_t *)frame.payload.method.decoded;
+ printf("Delivery: %u exchange: %.*s routingkey: %.*s\n",
+ (unsigned)d->delivery_tag, (int)d->exchange.len,
+ (char *)d->exchange.bytes, (int)d->routing_key.len,
+ (char *)d->routing_key.bytes);
+
+ result = amqp_simple_wait_frame(conn, &frame);
+ if (result < 0) {
+ break;
+ }
+
+ if (frame.frame_type != AMQP_FRAME_HEADER) {
+ fprintf(stderr, "Expected header!");
+ abort();
+ }
+ p = (amqp_basic_properties_t *)frame.payload.properties.decoded;
+ if (p->_flags & AMQP_BASIC_CONTENT_TYPE_FLAG) {
+ printf("Content-type: %.*s\n", (int)p->content_type.len,
+ (char *)p->content_type.bytes);
+ }
+ printf("----\n");
+
+ body_target = (size_t)frame.payload.properties.body_size;
+ body_received = 0;
+
+ while (body_received < body_target) {
+ result = amqp_simple_wait_frame(conn, &frame);
+ if (result < 0) {
+ break;
+ }
+
+ if (frame.frame_type != AMQP_FRAME_BODY) {
+ fprintf(stderr, "Expected body!");
+ abort();
+ }
+
+ body_received += frame.payload.body_fragment.len;
+ assert(body_received <= body_target);
+
+ amqp_dump(frame.payload.body_fragment.bytes,
+ frame.payload.body_fragment.len);
+ }
+
+ if (body_received != body_target) {
+ /* Can only happen when amqp_simple_wait_frame returns <= 0 */
+ /* We break here to close the connection */
+ break;
+ }
+
+ /* everything was fine, we can quit now because we received the reply */
+ break;
+ }
+ }
+ }
+
+ /*
+ closing
+ */
+
+ die_on_amqp_error(amqp_channel_close(conn, 1, AMQP_REPLY_SUCCESS),
+ "Closing channel");
+ die_on_amqp_error(amqp_connection_close(conn, AMQP_REPLY_SUCCESS),
+ "Closing connection");
+ die_on_error(amqp_destroy_connection(conn), "Ending connection");
+
+ return 0;
+}
diff --git a/librab/build/examples/amqp_sendstring.c b/librab/build/examples/amqp_sendstring.c
new file mode 100644
index 0000000..75492aa
--- /dev/null
+++ b/librab/build/examples/amqp_sendstring.c
@@ -0,0 +1,103 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Version: MIT
+ *
+ * Portions created by Alan Antonuk are Copyright (c) 2012-2013
+ * Alan Antonuk. All Rights Reserved.
+ *
+ * Portions created by VMware are Copyright (c) 2007-2012 VMware, Inc.
+ * All Rights Reserved.
+ *
+ * Portions created by Tony Garnock-Jones are Copyright (c) 2009-2010
+ * VMware, Inc. and Tony Garnock-Jones. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use, copy,
+ * modify, merge, publish, distribute, sublicense, and/or sell copies
+ * of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ * ***** END LICENSE BLOCK *****
+ */
+
+#include
+#include
+#include
+#include
+
+#include
+#include
+
+#include "utils.h"
+
+int main(int argc, char const *const *argv) {
+ char const *hostname;
+ int port, status;
+ char const *exchange;
+ char const *routingkey;
+ char const *messagebody;
+ amqp_socket_t *socket = NULL;
+ amqp_connection_state_t conn;
+
+ if (argc < 6) {
+ fprintf(
+ stderr,
+ "Usage: amqp_sendstring host port exchange routingkey messagebody\n");
+ return 1;
+ }
+
+ hostname = argv[1];
+ port = atoi(argv[2]);
+ exchange = argv[3];
+ routingkey = argv[4];
+ messagebody = argv[5];
+
+ conn = amqp_new_connection();
+
+ socket = amqp_tcp_socket_new(conn);
+ if (!socket) {
+ die("creating TCP socket");
+ }
+
+ status = amqp_socket_open(socket, hostname, port);
+ if (status) {
+ die("opening TCP socket");
+ }
+
+ die_on_amqp_error(amqp_login(conn, "/", 0, 131072, 0, AMQP_SASL_METHOD_PLAIN,
+ "guest", "guest"),
+ "Logging in");
+ amqp_channel_open(conn, 1);
+ die_on_amqp_error(amqp_get_rpc_reply(conn), "Opening channel");
+
+ {
+ amqp_basic_properties_t props;
+ props._flags = AMQP_BASIC_CONTENT_TYPE_FLAG | AMQP_BASIC_DELIVERY_MODE_FLAG;
+ props.content_type = amqp_cstring_bytes("text/plain");
+ props.delivery_mode = 2; /* persistent delivery mode */
+ die_on_error(amqp_basic_publish(conn, 1, amqp_cstring_bytes(exchange),
+ amqp_cstring_bytes(routingkey), 0, 0,
+ &props, amqp_cstring_bytes(messagebody)),
+ "Publishing");
+ }
+
+ die_on_amqp_error(amqp_channel_close(conn, 1, AMQP_REPLY_SUCCESS),
+ "Closing channel");
+ die_on_amqp_error(amqp_connection_close(conn, AMQP_REPLY_SUCCESS),
+ "Closing connection");
+ die_on_error(amqp_destroy_connection(conn), "Ending connection");
+ return 0;
+}
diff --git a/librab/build/examples/amqp_ssl_connect b/librab/build/examples/amqp_ssl_connect
new file mode 100644
index 0000000..942b756
Binary files /dev/null and b/librab/build/examples/amqp_ssl_connect differ
diff --git a/librab/build/examples/amqp_ssl_connect.c b/librab/build/examples/amqp_ssl_connect.c
new file mode 100644
index 0000000..3674c33
--- /dev/null
+++ b/librab/build/examples/amqp_ssl_connect.c
@@ -0,0 +1,135 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Version: MIT
+ *
+ * Portions created by Alan Antonuk are Copyright (c) 2012-2013
+ * Alan Antonuk. All Rights Reserved.
+ *
+ * Portions created by Mike Steinert are Copyright (c) 2012-2013
+ * Mike Steinert. All Rights Reserved.
+ *
+ * Portions created by Bogdan Padalko are Copyright (c) 2013.
+ * Bogdan Padalko. All Rights Reserved.
+ *
+ * Portions created by VMware are Copyright (c) 2007-2012 VMware, Inc.
+ * All Rights Reserved.
+ *
+ * Portions created by Tony Garnock-Jones are Copyright (c) 2009-2010
+ * VMware, Inc. and Tony Garnock-Jones. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use, copy,
+ * modify, merge, publish, distribute, sublicense, and/or sell copies
+ * of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ * ***** END LICENSE BLOCK *****
+ */
+
+#include
+#include
+#include
+#include
+
+#include
+#include
+
+#include
+
+#ifdef _WIN32
+#ifndef WIN32_LEAN_AND_MEAN
+#define WIN32_LEAN_AND_MEAN
+#endif
+#include
+#else
+#include
+#endif
+
+#include "utils.h"
+
+int main(int argc, char const *const *argv) {
+ char const *hostname;
+ int port;
+ int timeout;
+ amqp_socket_t *socket;
+ amqp_connection_state_t conn;
+ struct timeval tval;
+ struct timeval *tv;
+
+ if (argc < 3) {
+ fprintf(stderr,
+ "Usage: amqps_connect_timeout host port timeout_sec "
+ "[cacert.pem [verifypeer] [verifyhostname] [key.pem cert.pem]]\n");
+ return 1;
+ }
+
+ hostname = argv[1];
+ port = atoi(argv[2]);
+
+ timeout = atoi(argv[3]);
+ if (timeout > 0) {
+ tv = &tval;
+
+ tv->tv_sec = timeout;
+ tv->tv_usec = 0;
+ } else {
+ tv = NULL;
+ }
+
+ conn = amqp_new_connection();
+
+ socket = amqp_ssl_socket_new(conn);
+ if (!socket) {
+ die("creating SSL/TLS socket");
+ }
+
+ amqp_ssl_socket_set_verify_peer(socket, 0);
+ amqp_ssl_socket_set_verify_hostname(socket, 0);
+
+ if (argc > 5) {
+ int nextarg = 5;
+ die_on_error(amqp_ssl_socket_set_cacert(socket, argv[4]),
+ "setting CA certificate");
+ if (argc > nextarg && !strcmp("verifypeer", argv[nextarg])) {
+ amqp_ssl_socket_set_verify_peer(socket, 1);
+ nextarg++;
+ }
+ if (argc > nextarg && !strcmp("verifyhostname", argv[nextarg])) {
+ amqp_ssl_socket_set_verify_hostname(socket, 1);
+ nextarg++;
+ }
+ if (argc > nextarg + 1) {
+ die_on_error(
+ amqp_ssl_socket_set_key(socket, argv[nextarg + 1], argv[nextarg]),
+ "setting client key");
+ }
+ }
+
+ die_on_error(amqp_socket_open_noblock(socket, hostname, port, tv),
+ "opening SSL/TLS connection");
+
+ die_on_amqp_error(amqp_login(conn, "/", 0, 131072, 0, AMQP_SASL_METHOD_PLAIN,
+ "guest", "guest"),
+ "Logging in");
+
+ die_on_amqp_error(amqp_connection_close(conn, AMQP_REPLY_SUCCESS),
+ "Closing connection");
+ die_on_error(amqp_destroy_connection(conn), "Ending connection");
+ die_on_error(amqp_uninitialize_ssl_library(), "Uninitializing SSL library");
+
+ printf("Done\n");
+ return 0;
+}
diff --git a/librab/build/examples/amqp_unbind.c b/librab/build/examples/amqp_unbind.c
new file mode 100644
index 0000000..aea0738
--- /dev/null
+++ b/librab/build/examples/amqp_unbind.c
@@ -0,0 +1,95 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Version: MIT
+ *
+ * Portions created by Alan Antonuk are Copyright (c) 2012-2013
+ * Alan Antonuk. All Rights Reserved.
+ *
+ * Portions created by VMware are Copyright (c) 2007-2012 VMware, Inc.
+ * All Rights Reserved.
+ *
+ * Portions created by Tony Garnock-Jones are Copyright (c) 2009-2010
+ * VMware, Inc. and Tony Garnock-Jones. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use, copy,
+ * modify, merge, publish, distribute, sublicense, and/or sell copies
+ * of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ * ***** END LICENSE BLOCK *****
+ */
+
+#include
+#include
+#include
+#include
+
+#include
+#include
+
+#include "utils.h"
+
+int main(int argc, char const *const *argv) {
+ char const *hostname;
+ int port, status;
+ char const *exchange;
+ char const *bindingkey;
+ char const *queue;
+ amqp_socket_t *socket = NULL;
+ amqp_connection_state_t conn;
+
+ if (argc < 6) {
+ fprintf(stderr, "Usage: amqp_unbind host port exchange bindingkey queue\n");
+ return 1;
+ }
+
+ hostname = argv[1];
+ port = atoi(argv[2]);
+ exchange = argv[3];
+ bindingkey = argv[4];
+ queue = argv[5];
+
+ conn = amqp_new_connection();
+
+ socket = amqp_tcp_socket_new(conn);
+ if (!socket) {
+ die("creating TCP socket");
+ }
+
+ status = amqp_socket_open(socket, hostname, port);
+ if (status) {
+ die("opening TCP socket");
+ }
+
+ die_on_amqp_error(amqp_login(conn, "/", 0, 131072, 0, AMQP_SASL_METHOD_PLAIN,
+ "guest", "guest"),
+ "Logging in");
+ amqp_channel_open(conn, 1);
+ die_on_amqp_error(amqp_get_rpc_reply(conn), "Opening channel");
+
+ amqp_queue_unbind(conn, 1, amqp_cstring_bytes(queue),
+ amqp_cstring_bytes(exchange),
+ amqp_cstring_bytes(bindingkey), amqp_empty_table);
+ die_on_amqp_error(amqp_get_rpc_reply(conn), "Unbinding");
+
+ die_on_amqp_error(amqp_channel_close(conn, 1, AMQP_REPLY_SUCCESS),
+ "Closing channel");
+ die_on_amqp_error(amqp_connection_close(conn, AMQP_REPLY_SUCCESS),
+ "Closing connection");
+ die_on_error(amqp_destroy_connection(conn), "Ending connection");
+ return 0;
+}
diff --git a/librab/build/examples/cmake_install.cmake b/librab/build/examples/cmake_install.cmake
new file mode 100644
index 0000000..b906803
--- /dev/null
+++ b/librab/build/examples/cmake_install.cmake
@@ -0,0 +1,34 @@
+# Install script for directory: /home2/tcs/librab/build/examples
+
+# Set the install prefix
+IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
+ SET(CMAKE_INSTALL_PREFIX "/usr")
+ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
+STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+
+# Set the install configuration name.
+IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
+ IF(BUILD_TYPE)
+ STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
+ CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
+ ELSE(BUILD_TYPE)
+ SET(CMAKE_INSTALL_CONFIG_NAME "Release")
+ ENDIF(BUILD_TYPE)
+ MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
+ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
+
+# Set the component getting installed.
+IF(NOT CMAKE_INSTALL_COMPONENT)
+ IF(COMPONENT)
+ MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
+ SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
+ ELSE(COMPONENT)
+ SET(CMAKE_INSTALL_COMPONENT)
+ ENDIF(COMPONENT)
+ENDIF(NOT CMAKE_INSTALL_COMPONENT)
+
+# Install shared libraries without execute permission?
+IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
+ SET(CMAKE_INSTALL_SO_NO_EXE "0")
+ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
+
diff --git a/librab/build/examples/unix/platform_utils.c b/librab/build/examples/unix/platform_utils.c
new file mode 100644
index 0000000..e420b82
--- /dev/null
+++ b/librab/build/examples/unix/platform_utils.c
@@ -0,0 +1,52 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Version: MIT
+ *
+ * Portions created by Alan Antonuk are Copyright (c) 2012-2013
+ * Alan Antonuk. All Rights Reserved.
+ *
+ * Portions created by VMware are Copyright (c) 2007-2012 VMware, Inc.
+ * All Rights Reserved.
+ *
+ * Portions created by Tony Garnock-Jones are Copyright (c) 2009-2010
+ * VMware, Inc. and Tony Garnock-Jones. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use, copy,
+ * modify, merge, publish, distribute, sublicense, and/or sell copies
+ * of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ * ***** END LICENSE BLOCK *****
+ */
+
+#include
+#include
+#include
+#include
+
+uint64_t now_microseconds(void) {
+ struct timeval tv;
+ gettimeofday(&tv, NULL);
+ return (uint64_t)tv.tv_sec * 1000000 + (uint64_t)tv.tv_usec;
+}
+
+void microsleep(int usec) {
+ struct timespec req;
+ req.tv_sec = 0;
+ req.tv_nsec = 1000 * usec;
+ nanosleep(&req, NULL);
+}
diff --git a/librab/build/examples/utils.c b/librab/build/examples/utils.c
new file mode 100644
index 0000000..8d1b4c6
--- /dev/null
+++ b/librab/build/examples/utils.c
@@ -0,0 +1,188 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Version: MIT
+ *
+ * Portions created by Alan Antonuk are Copyright (c) 2012-2013
+ * Alan Antonuk. All Rights Reserved.
+ *
+ * Portions created by VMware are Copyright (c) 2007-2012 VMware, Inc.
+ * All Rights Reserved.
+ *
+ * Portions created by Tony Garnock-Jones are Copyright (c) 2009-2010
+ * VMware, Inc. and Tony Garnock-Jones. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use, copy,
+ * modify, merge, publish, distribute, sublicense, and/or sell copies
+ * of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ * ***** END LICENSE BLOCK *****
+ */
+
+#include
+#include
+#include
+#include
+#include
+
+#include
+#include
+#include
+
+#include "utils.h"
+
+void die(const char *fmt, ...) {
+ va_list ap;
+ va_start(ap, fmt);
+ vfprintf(stderr, fmt, ap);
+ va_end(ap);
+ fprintf(stderr, "\n");
+ exit(1);
+}
+
+void die_on_error(int x, char const *context) {
+ if (x < 0) {
+ fprintf(stderr, "%s: %s\n", context, amqp_error_string2(x));
+ exit(1);
+ }
+}
+
+void die_on_amqp_error(amqp_rpc_reply_t x, char const *context) {
+ switch (x.reply_type) {
+ case AMQP_RESPONSE_NORMAL:
+ return;
+
+ case AMQP_RESPONSE_NONE:
+ fprintf(stderr, "%s: missing RPC reply type!\n", context);
+ break;
+
+ case AMQP_RESPONSE_LIBRARY_EXCEPTION:
+ fprintf(stderr, "%s: %s\n", context, amqp_error_string2(x.library_error));
+ break;
+
+ case AMQP_RESPONSE_SERVER_EXCEPTION:
+ switch (x.reply.id) {
+ case AMQP_CONNECTION_CLOSE_METHOD: {
+ amqp_connection_close_t *m =
+ (amqp_connection_close_t *)x.reply.decoded;
+ fprintf(stderr, "%s: server connection error %uh, message: %.*s\n",
+ context, m->reply_code, (int)m->reply_text.len,
+ (char *)m->reply_text.bytes);
+ break;
+ }
+ case AMQP_CHANNEL_CLOSE_METHOD: {
+ amqp_channel_close_t *m = (amqp_channel_close_t *)x.reply.decoded;
+ fprintf(stderr, "%s: server channel error %uh, message: %.*s\n",
+ context, m->reply_code, (int)m->reply_text.len,
+ (char *)m->reply_text.bytes);
+ break;
+ }
+ default:
+ fprintf(stderr, "%s: unknown server error, method id 0x%08X\n",
+ context, x.reply.id);
+ break;
+ }
+ break;
+ }
+
+ exit(1);
+}
+
+static void dump_row(long count, int numinrow, int *chs) {
+ int i;
+
+ printf("%08lX:", count - numinrow);
+
+ if (numinrow > 0) {
+ for (i = 0; i < numinrow; i++) {
+ if (i == 8) {
+ printf(" :");
+ }
+ printf(" %02X", chs[i]);
+ }
+ for (i = numinrow; i < 16; i++) {
+ if (i == 8) {
+ printf(" :");
+ }
+ printf(" ");
+ }
+ printf(" ");
+ for (i = 0; i < numinrow; i++) {
+ if (isprint(chs[i])) {
+ printf("%c", chs[i]);
+ } else {
+ printf(".");
+ }
+ }
+ }
+ printf("\n");
+}
+
+static int rows_eq(int *a, int *b) {
+ int i;
+
+ for (i = 0; i < 16; i++)
+ if (a[i] != b[i]) {
+ return 0;
+ }
+
+ return 1;
+}
+
+void amqp_dump(void const *buffer, size_t len) {
+ unsigned char *buf = (unsigned char *)buffer;
+ long count = 0;
+ int numinrow = 0;
+ int chs[16];
+ int oldchs[16] = {0};
+ int showed_dots = 0;
+ size_t i;
+
+ for (i = 0; i < len; i++) {
+ int ch = buf[i];
+
+ if (numinrow == 16) {
+ int j;
+
+ if (rows_eq(oldchs, chs)) {
+ if (!showed_dots) {
+ showed_dots = 1;
+ printf(
+ " .. .. .. .. .. .. .. .. : .. .. .. .. .. .. .. ..\n");
+ }
+ } else {
+ showed_dots = 0;
+ dump_row(count, numinrow, chs);
+ }
+
+ for (j = 0; j < 16; j++) {
+ oldchs[j] = chs[j];
+ }
+
+ numinrow = 0;
+ }
+
+ count++;
+ chs[numinrow++] = ch;
+ }
+
+ dump_row(count, numinrow, chs);
+
+ if (numinrow != 0) {
+ printf("%08lX:\n", count);
+ }
+}
diff --git a/librab/build/examples/utils.h b/librab/build/examples/utils.h
new file mode 100644
index 0000000..0fa7392
--- /dev/null
+++ b/librab/build/examples/utils.h
@@ -0,0 +1,48 @@
+#ifndef librabbitmq_examples_utils_h
+#define librabbitmq_examples_utils_h
+
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Version: MIT
+ *
+ * Portions created by Alan Antonuk are Copyright (c) 2012-2013
+ * Alan Antonuk. All Rights Reserved.
+ *
+ * Portions created by VMware are Copyright (c) 2007-2012 VMware, Inc.
+ * All Rights Reserved.
+ *
+ * Portions created by Tony Garnock-Jones are Copyright (c) 2009-2010
+ * VMware, Inc. and Tony Garnock-Jones. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use, copy,
+ * modify, merge, publish, distribute, sublicense, and/or sell copies
+ * of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ * ***** END LICENSE BLOCK *****
+ */
+
+void die(const char *fmt, ...);
+extern void die_on_error(int x, char const *context);
+extern void die_on_amqp_error(amqp_rpc_reply_t x, char const *context);
+
+extern void amqp_dump(void const *buffer, size_t len);
+
+extern uint64_t now_microseconds(void);
+extern void microsleep(int usec);
+
+#endif
diff --git a/librab/build/examples/win32/platform_utils.c b/librab/build/examples/win32/platform_utils.c
new file mode 100644
index 0000000..49fd377
--- /dev/null
+++ b/librab/build/examples/win32/platform_utils.c
@@ -0,0 +1,47 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Version: MIT
+ *
+ * Portions created by Alan Antonuk are Copyright (c) 2012-2013
+ * Alan Antonuk. All Rights Reserved.
+ *
+ * Portions created by VMware are Copyright (c) 2007-2012 VMware, Inc.
+ * All Rights Reserved.
+ *
+ * Portions created by Tony Garnock-Jones are Copyright (c) 2009-2010
+ * VMware, Inc. and Tony Garnock-Jones. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use, copy,
+ * modify, merge, publish, distribute, sublicense, and/or sell copies
+ * of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ * ***** END LICENSE BLOCK *****
+ */
+
+#include
+
+#include
+
+uint64_t now_microseconds(void) {
+ FILETIME ft;
+ GetSystemTimeAsFileTime(&ft);
+ return (((uint64_t)ft.dwHighDateTime << 32) | (uint64_t)ft.dwLowDateTime) /
+ 10;
+}
+
+void microsleep(int usec) { Sleep(usec / 1000); }
diff --git a/librab/build/install_manifest.txt b/librab/build/install_manifest.txt
new file mode 100644
index 0000000..73baa4e
--- /dev/null
+++ b/librab/build/install_manifest.txt
@@ -0,0 +1,9 @@
+/usr/lib64/pkgconfig/librabbitmq.pc
+/usr/lib64/librabbitmq.so.4.3.1
+/usr/lib64/librabbitmq.so.4
+/usr/lib64/librabbitmq.so
+/usr/lib64/librabbitmq.a
+/usr/include/amqp.h
+/usr/include/amqp_framing.h
+/usr/include/amqp_tcp_socket.h
+/usr/include/amqp_ssl_socket.h
diff --git a/librab/build/librabbitmq.pc.in b/librab/build/librabbitmq.pc.in
new file mode 100644
index 0000000..17c1e08
--- /dev/null
+++ b/librab/build/librabbitmq.pc.in
@@ -0,0 +1,13 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: rabbitmq-c
+Description: An AMQP 0-9-1 client library
+Version: @VERSION@
+URL: https://github.com/alanxz/rabbitmq-c
+Requires.private: @requires_private@
+Libs: -L${libdir} -lrabbitmq
+Libs.private: @libs_private@
+CFlags: -I${includedir}
diff --git a/librab/build/travis.sh b/librab/build/travis.sh
new file mode 100644
index 0000000..c21993b
--- /dev/null
+++ b/librab/build/travis.sh
@@ -0,0 +1,71 @@
+#!/usr/bin/env bash
+
+build_cmake() {
+ mkdir $PWD/_build && cd $PWD/_build
+ cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/../_install -DCMAKE_C_FLAGS="-Werror" \
+ ${_CMAKE_OPENSSL_FLAG}
+ cmake --build . --target install
+ ctest -V .
+}
+
+build_format() {
+ ./travis/run-clang-format/run-clang-format.py \
+ --clang-format-executable="${PWD}/travis/clang-format.sh" \
+ --recursive examples librabbitmq tests tools
+}
+
+build_coverage() {
+ mkdir $PWD/_build && cd $PWD/_build
+ cmake .. -DCMAKE_BUILD_TYPE=Coverage -DCMAKE_INSTALL_PREFIX=$PWD/../_install \
+ -DCMAKE_C_FLAGS="-Werror -fprofile-arcs -ftest-coverage" \
+ ${_CMAKE_OPENSSL_FLAG}
+ cmake --build . --target install
+ ctest -V .
+
+ pip install --user cpp-coveralls
+ coveralls --exclude tests --build-root . --root .. --gcov-options '\-lp'
+}
+
+build_asan() {
+ mkdir $PWD/_build && cd $PWD/_build
+ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$PWD/../_install \
+ -DCMAKE_C_FLAGS="-Werror -fsanitize=address,undefined -O1"
+ cmake --build . --target install
+ ctest -V .
+}
+
+build_tsan() {
+ mkdir $PWD/_build && cd $PWD/_build
+ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$PWD/../_install \
+ -DCMAKE_C_FLAGS="-Werror -fsanitize=thread,undefined -O1"
+ cmake --build . --target install
+ ctest -V .
+}
+
+build_scan-build() {
+ mkdir $PWD/_build && cd $PWD/_build
+ scan-build-3.9 cmake .. -DCMAKE_BUILD_TYPE=Debug \
+ -DCMAKE_INSTALL_PREFIX=$PWD/../_install \
+ -DCMAKE_C_FLAGS="-Werror"
+ scan-build-3.9 make install
+}
+
+if [ "$#" -ne 1 ]; then
+ echo "Usage: $0 {cmake|asan|tsan|scan-build}"
+ exit 1
+fi
+
+set -e # exit on error.
+set -x # echo commands.
+
+case $TRAVIS_OS_NAME in
+osx)
+ # This prints out a long list of updated packages, which isn't useful.
+ brew update > /dev/null
+ brew install popt
+ brew outdated openssl || brew install openssl
+ export _CMAKE_OPENSSL_FLAG="-DOPENSSL_ROOT_DIR=/usr/local/opt/openssl"
+ ;;
+esac
+
+eval "build_$1"