index.html.slim 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. ---
  2. title: "libdsm - minimalist smb client"
  3. ---
  4. .container
  5. .col-md-6.col-md-offset-6
  6. a#top
  7. nav.navbar.navbar-inverse.navbar-static-top role="navigation"
  8. .container
  9. .navbar-header
  10. button.navbar-toggle type="button" data-toggle="collapse" data-target=".navbar-collapse"
  11. span.sr-only Toggle navigation
  12. span.icon-bar
  13. span.icon-bar
  14. span.icon-bar
  15. = link_to "libdsm", "#libdsm", class: "navbar-brand"
  16. .collapse.navbar-collapse
  17. ul.nav.navbar-nav
  18. li= link_to "Features", "#features"
  19. li= link_to "Examples", "#examples"
  20. li= link_to "Doc", "#doc"
  21. li= link_to "Download", "#download"
  22. li= link_to "Contact", "#contact"
  23. .container
  24. .row
  25. .jumbotron
  26. .row
  27. h1 Looking for a tiny smb library ?
  28. h2.pull-right --You're at the right place
  29. .row
  30. .jumbotron
  31. .row
  32. .col-md-12.text-center
  33. a#libdsm
  34. h1
  35. | Discover
  36. span.text-muted li
  37. | bdsm
  38. br
  39. br
  40. .row
  41. .col-md-3.col-xs-6.text-center
  42. i.fa.fa-5x.fa-magic
  43. h3 Simple
  44. p Less than 42 API calls.
  45. p Documented
  46. .col-md-3.col-xs-6.text-center
  47. i.fa.fa-5x.fa-send
  48. h3 Lightweight
  49. p Less than 150KB stripped
  50. p Low memory footprint
  51. .col-md-3.col-xs-6.text-center
  52. i.fa.fa-5x.fa-laptop
  53. h3 Portable
  54. .small.text-muted theorically
  55. p Only 2 dependencies
  56. p Only POSIX calls
  57. .col-md-3.col-xs-6.text-center
  58. i.fa.fa-5x.fa-chain-broken
  59. h3 Open-Source
  60. p Dual LGPL
  61. p and commercial licensing
  62. a.gotop.pull-right href="#top"
  63. i.fa.fa-angle-up
  64. | Top
  65. .row
  66. .well
  67. .row
  68. a name="features"
  69. .col-md-12
  70. h1 Features
  71. .col-md-4
  72. ul
  73. li Speaking SMB v1
  74. li Read-only client
  75. li Discover hosts
  76. li List shares
  77. li List folders
  78. li Read files
  79. .col-md-4
  80. ul
  81. li
  82. | Transport
  83. ul
  84. li Netbios over TCP
  85. li Direct-TCP
  86. li
  87. | Server compatibility
  88. ul
  89. li Samba 3 & 4
  90. li Apple SMBX
  91. li Windows 7 & 8
  92. li older Windows untested
  93. .col-md-4
  94. ul
  95. li
  96. | Netbios
  97. ul
  98. li Name lookup
  99. li Reverse lookup
  100. li
  101. | Supported system
  102. ul
  103. li Linux
  104. li OSX
  105. li pkg-config enabled
  106. li Unicode path support
  107. a.gotop.pull-right href="#top"
  108. i.fa.fa-angle-up
  109. | Top
  110. .row
  111. .well
  112. .row
  113. a#examples
  114. .col-md-12
  115. h1.pull-right Examples
  116. .row
  117. .col-md-6
  118. pre.examples
  119. code.hljs.c
  120. = escape_html File.read('source/c/example1.c')
  121. .col-md-6
  122. pre.examples
  123. code.hljs.c
  124. = escape_html File.read('source/c/example2.c')
  125. .col-md-12
  126. 'Click
  127. a href="http://github.com/videolabs/libdsm/bin" here
  128. ' for complete code of examples.
  129. a.gotop.pull-right href="#top"
  130. i.fa.fa-angle-up
  131. | Top
  132. .row
  133. .well
  134. .row
  135. a#doc
  136. .col-md-12.text-center
  137. h1 Documentation
  138. .row
  139. .col-md-6
  140. h2 Building
  141. p
  142. | While the most up-to-date documentation can be found in the README of the project on
  143. a href="https://github.com/videolabs/libdsm/" the github page,
  144. | here's a brief summary
  145. h3 Requirements
  146. ul
  147. li A Unix system with a shell
  148. li A C99 compiler (gcc and clang tested)
  149. li autotools
  150. li libiconv
  151. li
  152. a href="http://www.gnu.org/software/libtasn1/" libtasn1
  153. li (optionnal) doxygen to generate documentation
  154. li (optionnal) getopt_long for example programs
  155. h3 Building
  156. | Here you just have to roll the traditional
  157. pre
  158. | $> ./bootstrap
  159. $> ./configure --prefix=/usr/local/libdsm
  160. $> make && make install
  161. .col-md-6
  162. h2 API Documentation
  163. | You can find a few examples in the bin/ folder of the source code but you'll likely enjoy the
  164. extensive API documentation you can fond by clicking the link below:
  165. .text-center
  166. a.btn.btn-lg.btn-primary href="doc/index.html" Doxygen documentation
  167. .row
  168. .well
  169. .row
  170. a#download
  171. .col-md-12.text-center
  172. h1 Download
  173. .row
  174. .col-md-4.col-md-offset-1.text-center
  175. | You can download one of our stable release as a tarbal by clicking on the following link
  176. .text-muted Last stable release : 0.0.2
  177. br
  178. a.btn.btn-lg.btn-primary href="https://github.com/videolabs/libdsm/releases/"
  179. i.fa.fa-download
  180. | View the releases
  181. .col-md-2.hidden-xs.hidden-sm.text-center
  182. i.fa.fa-3x.fa-heart
  183. .col-md-4.text-center
  184. | If you're more of a warrior or want to contribute, you can find this project's code on GitHub.
  185. As always Pull Requests are always welcome :)
  186. .div
  187. br
  188. a.btn.btn-lg.btn-info href="https://github.com/videolabs/libdsm/"
  189. i.fa.fa-github
  190. | Fork me on GitHub
  191. a.gotop.pull-right href="#top"
  192. i.fa.fa-angle-up
  193. | Top
  194. .row
  195. .well
  196. .row
  197. a#contact
  198. .col-md-12.text-center
  199. h1 Contact us
  200. h3 Having some troubles with libdsm ?
  201. | Please browse the existing
  202. a href="https://github.com/videolabs/libdsm/issues" issues on GitHub
  203. | and, if you doesn't find a solution to your problem, you can open a
  204. a href="https://github.com/videolabs/libdsm/issues/new" new one.
  205. .small.text-muted
  206. | For other concerns, you can mail 'contact' _AT_ lta _DOT_ io
  207. a.gotop.pull-right href="#top"
  208. i.fa.fa-angle-up
  209. | Top