librados: fix installed header include paths

Avoid referencing non-installed header deps.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
debian: Fix FTBFS because depend on old libboost-dev

Signed-off-by: Andras Elso <elso.andras@gmail.com>
mon/Monitor.h: return string instead of 'char *' from get_state_name()

Return a string instead of 'char *' to avoid usage of std::string:c_str()
to return a 'char *' from get_state_name().

Returning result of c_str() from a function is dangerous since the
result gets (may) invalid after the related string object gets
destroyed or out of scope (which is the case with return). So you may
end up with garbage in this case.

Related warning from cppcheck:
 [src/mon/Monitor.h:172]: (error) Dangerous usage of c_str(). The value
 returned by c_str() is invalid after this call.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Merge pull request #103 from dalgaaf/wip-da-fix-c_str

mon/Monitor.h: return string instead of 'char *' from get_state_name()

Reviewed-by: Sage Weil <sage@inktank.com>
Fix typo in ceph usage output

Signed-off-by: David Zafman <david.zafman@inktank.com>
Merge pull request #97 from Elbandi/master

Fix FTBFS

Reviewed-by: Gary Lowell <gary.lowell@inktank.com>
Merge remote-tracking branch 'origin/wip-fix-librados-headers'
doc: Added troubleshooting entry for single OSD and single replica.

fixes: #3327

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Addressed confusion with version numbering.

fixes: #4411

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Fixed usage and added note for copying keyring to client. Added hyperlinks.

fixes: #4373

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Setting should use network not single IP.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added tcp and bind settings and cleaned up syntax a bit.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Fixed syntax error.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>