glib2 3.2.5-x64-mingw32 → 3.2.6-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (325) hide show
  1. checksums.yaml +4 -4
  2. data/COPYING.LIB +502 -0
  3. data/README.md +42 -0
  4. data/Rakefile +8 -7
  5. data/ext/glib2/glib2.def +5 -0
  6. data/ext/glib2/rbglib-gc.c +89 -0
  7. data/ext/glib2/rbglib-variant-type.c +17 -0
  8. data/ext/glib2/rbglib.c +3 -0
  9. data/ext/glib2/rbglib.h +6 -1
  10. data/ext/glib2/rbglib2conversions.h +1 -1
  11. data/ext/glib2/rbgobj_boxed.c +49 -30
  12. data/ext/glib2/rbgobj_closure.c +3 -2
  13. data/ext/glib2/rbgobj_convert.c +1 -2
  14. data/ext/glib2/rbgobj_enums.c +32 -14
  15. data/ext/glib2/rbgobj_flags.c +31 -14
  16. data/ext/glib2/rbgobj_param.c +43 -23
  17. data/ext/glib2/rbgobj_signal.c +78 -66
  18. data/ext/glib2/rbgobj_type.c +22 -10
  19. data/ext/glib2/rbgobject.h +2 -0
  20. data/ext/glib2/rbgprivate.h +11 -0
  21. data/glib2.gemspec +48 -0
  22. data/lib/2.2/glib2.so +0 -0
  23. data/lib/2.3/glib2.so +0 -0
  24. data/lib/2.4/glib2.so +0 -0
  25. data/lib/2.5/glib2.so +0 -0
  26. data/lib/gnome2/rake/package-task.rb +17 -5
  27. data/lib/gnome2/rake/package.rb +2 -2
  28. data/lib/gnome2/rake/windows-binary-build-task.rb +39 -6
  29. data/lib/mkmf-gnome2.rb +4 -3
  30. data/sample/bookmarkfile.rb +2 -2
  31. data/sample/type-register.rb +6 -6
  32. data/sample/type-register2.rb +6 -6
  33. data/test/{test_enum.rb → test-enum.rb} +0 -0
  34. data/test/{test_file_utils.rb → test-file-utils.rb} +0 -0
  35. data/test/{test_flags.rb → test-flags.rb} +0 -0
  36. data/test/{test_glib2.rb → test-glib2.rb} +0 -0
  37. data/test/{test_key_file.rb → test-key-file.rb} +0 -0
  38. data/test/{test_mkenums.rb → test-mkenums.rb} +0 -0
  39. data/test/{test_poll_fd.rb → test-poll-fd.rb} +0 -0
  40. data/test/{test_signal.rb → test-signal.rb} +34 -2
  41. data/test/{test_source.rb → test-source.rb} +0 -0
  42. data/test/{test_spawn.rb → test-spawn.rb} +0 -0
  43. data/test/{test_timeout.rb → test-timeout.rb} +0 -0
  44. data/test/{test_unicode.rb → test-unicode.rb} +0 -0
  45. data/test/{test_utils.rb → test-utils.rb} +0 -0
  46. data/test/{test_value.rb → test-value.rb} +0 -0
  47. data/test/test-variant.rb +27 -0
  48. data/test/{test_win32.rb → test-win32.rb} +0 -0
  49. data/vendor/local/bin/asn1Coding.exe +0 -0
  50. data/vendor/local/bin/asn1Decoding.exe +0 -0
  51. data/vendor/local/bin/asn1Parser.exe +0 -0
  52. data/vendor/local/bin/envsubst.exe +0 -0
  53. data/vendor/local/bin/gdbus.exe +0 -0
  54. data/vendor/local/bin/gettext.exe +0 -0
  55. data/vendor/local/bin/gio-querymodules.exe +0 -0
  56. data/vendor/local/bin/gio.exe +0 -0
  57. data/vendor/local/bin/glib-compile-resources.exe +0 -0
  58. data/vendor/local/bin/glib-compile-schemas.exe +0 -0
  59. data/vendor/local/bin/glib-genmarshal +1 -1
  60. data/vendor/local/bin/glib-gettextize +1 -1
  61. data/vendor/local/bin/glib-mkenums +4 -2
  62. data/vendor/local/bin/gobject-query.exe +0 -0
  63. data/vendor/local/bin/gresource.exe +0 -0
  64. data/vendor/local/bin/gsettings.exe +0 -0
  65. data/vendor/local/bin/gspawn-win64-helper-console.exe +0 -0
  66. data/vendor/local/bin/gspawn-win64-helper.exe +0 -0
  67. data/vendor/local/bin/iconv.exe +0 -0
  68. data/vendor/local/bin/idn2.exe +0 -0
  69. data/vendor/local/bin/libasprintf-0.dll +0 -0
  70. data/vendor/local/bin/libcharset-1.dll +0 -0
  71. data/vendor/local/bin/libffi-6.dll +0 -0
  72. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  73. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  74. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  75. data/vendor/local/bin/libgmp-10.dll +0 -0
  76. data/vendor/local/bin/libgnutls-30.dll +0 -0
  77. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  78. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  79. data/vendor/local/bin/libhogweed-4-2.dll +0 -0
  80. data/vendor/local/bin/libiconv-2.dll +0 -0
  81. data/vendor/local/bin/libidn2-0.dll +0 -0
  82. data/vendor/local/bin/libintl-8.dll +0 -0
  83. data/vendor/local/bin/libnettle-6-2.dll +0 -0
  84. data/vendor/local/bin/libp11-kit-0.dll +0 -0
  85. data/vendor/local/bin/libpcre-1.dll +0 -0
  86. data/vendor/local/bin/libpcrecpp-0.dll +0 -0
  87. data/vendor/local/bin/libpcreposix-0.dll +0 -0
  88. data/vendor/local/bin/libtasn1-6.dll +0 -0
  89. data/vendor/local/bin/nettle-hash.exe +0 -0
  90. data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
  91. data/vendor/local/bin/nettle-pbkdf2.exe +0 -0
  92. data/vendor/local/bin/ngettext.exe +0 -0
  93. data/vendor/local/bin/p11-kit.exe +0 -0
  94. data/vendor/local/bin/pcregrep.exe +0 -0
  95. data/vendor/local/bin/pcretest.exe +0 -0
  96. data/vendor/local/bin/pkcs1-conv.exe +0 -0
  97. data/vendor/local/bin/sexp-conv.exe +0 -0
  98. data/vendor/local/bin/trust.exe +0 -0
  99. data/vendor/local/include/idn2.h +5 -3
  100. data/vendor/local/include/p11-kit-1/p11-kit/iter.h +25 -1
  101. data/vendor/local/include/p11-kit-1/p11-kit/p11-kit.h +6 -0
  102. data/vendor/local/include/p11-kit-1/p11-kit/pkcs11.h +133 -4
  103. data/vendor/local/include/p11-kit-1/p11-kit/pkcs11x.h +1 -0
  104. data/vendor/local/include/p11-kit-1/p11-kit/remote.h +15 -0
  105. data/vendor/local/include/p11-kit-1/p11-kit/uri.h +32 -12
  106. data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
  107. data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
  108. data/vendor/local/lib/libasprintf.a +0 -0
  109. data/vendor/local/lib/libasprintf.dll.a +0 -0
  110. data/vendor/local/lib/libasprintf.la +1 -1
  111. data/vendor/local/lib/libcharset.a +0 -0
  112. data/vendor/local/lib/libcharset.dll.a +0 -0
  113. data/vendor/local/lib/libcharset.la +1 -1
  114. data/vendor/local/lib/libffi.dll.a +0 -0
  115. data/vendor/local/lib/libffi.la +1 -1
  116. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  117. data/vendor/local/lib/libgio-2.0.la +2 -2
  118. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  119. data/vendor/local/lib/libglib-2.0.la +2 -2
  120. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  121. data/vendor/local/lib/libgmodule-2.0.la +2 -2
  122. data/vendor/local/lib/libgmp.dll.a +0 -0
  123. data/vendor/local/lib/libgnutls.dll.a +0 -0
  124. data/vendor/local/lib/libgnutls.la +1 -1
  125. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  126. data/vendor/local/lib/libgobject-2.0.la +2 -2
  127. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  128. data/vendor/local/lib/libgthread-2.0.la +2 -2
  129. data/vendor/local/lib/libhogweed.dll.a +0 -0
  130. data/vendor/local/lib/libiconv.dll.a +0 -0
  131. data/vendor/local/lib/libiconv.la +1 -1
  132. data/vendor/local/lib/libidn2.a +0 -0
  133. data/vendor/local/lib/libidn2.dll.a +0 -0
  134. data/vendor/local/lib/libidn2.la +2 -2
  135. data/vendor/local/lib/libintl.a +0 -0
  136. data/vendor/local/lib/libintl.dll.a +0 -0
  137. data/vendor/local/lib/libintl.la +1 -1
  138. data/vendor/local/lib/libnettle.dll.a +0 -0
  139. data/vendor/local/lib/libp11-kit.dll.a +0 -0
  140. data/vendor/local/lib/libp11-kit.la +3 -3
  141. data/vendor/local/lib/libpcre.a +0 -0
  142. data/vendor/local/lib/libpcre.dll.a +0 -0
  143. data/vendor/local/lib/libpcre.la +1 -1
  144. data/vendor/local/lib/libpcrecpp.dll.a +0 -0
  145. data/vendor/local/lib/libpcrecpp.la +1 -1
  146. data/vendor/local/lib/libpcreposix.a +0 -0
  147. data/vendor/local/lib/libpcreposix.dll.a +0 -0
  148. data/vendor/local/lib/libpcreposix.la +1 -1
  149. data/vendor/local/lib/libtasn1.dll.a +0 -0
  150. data/vendor/local/lib/pkcs11/p11-kit-trust.dll +0 -0
  151. data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
  152. data/vendor/local/lib/pkcs11/p11-kit-trust.la +3 -3
  153. data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
  154. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
  155. data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
  156. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
  157. data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
  158. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
  159. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
  160. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
  161. data/vendor/local/lib/pkgconfig/libidn2.pc +1 -1
  162. data/vendor/local/lib/pkgconfig/p11-kit-1.pc +1 -1
  163. data/vendor/local/libexec/p11-kit/p11-kit-remote.exe +0 -0
  164. data/vendor/local/libexec/p11-kit/p11-kit-server.exe +0 -0
  165. data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2/glib2/vendor/local/lib/{libglib-2.0.so.0.5600.0-gdb.py → libglib-2.0.so.0.5600.1-gdb.py} +0 -0
  166. data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2/glib2/vendor/local/lib/{libgobject-2.0.so.0.5600.0-gdb.py → libgobject-2.0.so.0.5600.1-gdb.py} +0 -0
  167. data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
  168. data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
  169. data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
  170. data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
  171. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
  172. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
  173. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
  174. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
  175. data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
  176. data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
  177. data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
  178. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
  179. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
  180. data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
  181. data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
  182. data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
  183. data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
  184. data/vendor/local/share/glib-2.0/gdb/gobject_gdb.py +1 -1
  185. data/vendor/local/share/gtk-doc/html/gio/GApplication.html +35 -13
  186. data/vendor/local/share/gtk-doc/html/gio/gio.html +0 -4
  187. data/vendor/local/share/gtk-doc/html/gio/index.html +1 -1
  188. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +2 -2
  189. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +2 -2
  190. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +1 -1
  191. data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +1 -1
  192. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +2 -2
  193. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +3 -3
  194. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +3 -3
  195. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +1 -1
  196. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +4 -4
  197. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +2 -2
  198. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +3 -3
  199. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +4 -4
  200. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +4 -4
  201. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +4 -4
  202. data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +1 -1
  203. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +1 -1
  204. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +1 -1
  205. data/vendor/local/share/gtk-doc/html/glib/index.html +1 -1
  206. data/vendor/local/share/gtk-doc/html/gobject/index.html +1 -1
  207. data/vendor/local/share/gtk-doc/html/libidn2/api-index-full.html +4 -10
  208. data/vendor/local/share/gtk-doc/html/libidn2/home.png +0 -0
  209. data/vendor/local/share/gtk-doc/html/libidn2/index.html +3 -3
  210. data/vendor/local/share/gtk-doc/html/libidn2/left-insensitive.png +0 -0
  211. data/vendor/local/share/gtk-doc/html/libidn2/left.png +0 -0
  212. data/vendor/local/share/gtk-doc/html/libidn2/libidn2-idn2.html +67 -75
  213. data/vendor/local/share/gtk-doc/html/libidn2/libidn2.devhelp2 +1 -0
  214. data/vendor/local/share/gtk-doc/html/libidn2/libidn2.html +2 -2
  215. data/vendor/local/share/gtk-doc/html/libidn2/right-insensitive.png +0 -0
  216. data/vendor/local/share/gtk-doc/html/libidn2/right.png +0 -0
  217. data/vendor/local/share/gtk-doc/html/libidn2/style.css +4 -0
  218. data/vendor/local/share/gtk-doc/html/libidn2/up-insensitive.png +0 -0
  219. data/vendor/local/share/gtk-doc/html/libidn2/up.png +0 -0
  220. data/vendor/local/share/gtk-doc/html/p11-kit/config-example.html +3 -3
  221. data/vendor/local/share/gtk-doc/html/p11-kit/config-files.html +3 -3
  222. data/vendor/local/share/gtk-doc/html/p11-kit/config.html +3 -3
  223. data/vendor/local/share/gtk-doc/html/p11-kit/devel-building-style.html +3 -3
  224. data/vendor/local/share/gtk-doc/html/p11-kit/devel-building.html +4 -4
  225. data/vendor/local/share/gtk-doc/html/p11-kit/devel-commands.html +3 -3
  226. data/vendor/local/share/gtk-doc/html/p11-kit/devel-debugging.html +3 -3
  227. data/vendor/local/share/gtk-doc/html/p11-kit/devel-paths.html +3 -3
  228. data/vendor/local/share/gtk-doc/html/p11-kit/devel-testing.html +4 -4
  229. data/vendor/local/share/gtk-doc/html/p11-kit/devel.html +5 -5
  230. data/vendor/local/share/gtk-doc/html/p11-kit/index.html +5 -4
  231. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Deprecated.html +3 -3
  232. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Future.html +292 -19
  233. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Modules.html +22 -16
  234. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html +19 -19
  235. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-URIs.html +262 -21
  236. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Utilities.html +5 -5
  237. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.devhelp2 +21 -1
  238. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.html +18 -5
  239. data/vendor/local/share/gtk-doc/html/p11-kit/pkcs11-conf.html +6 -4
  240. data/vendor/local/share/gtk-doc/html/p11-kit/reference.html +43 -3
  241. data/vendor/local/share/gtk-doc/html/p11-kit/remoting.html +230 -0
  242. data/vendor/local/share/gtk-doc/html/p11-kit/sharing-managed.html +3 -3
  243. data/vendor/local/share/gtk-doc/html/p11-kit/sharing.html +5 -5
  244. data/vendor/local/share/gtk-doc/html/p11-kit/tools.html +3 -3
  245. data/vendor/local/share/gtk-doc/html/p11-kit/trust-disable.html +3 -3
  246. data/vendor/local/share/gtk-doc/html/p11-kit/trust-glib-networking.html +3 -3
  247. data/vendor/local/share/gtk-doc/html/p11-kit/trust-module.html +5 -5
  248. data/vendor/local/share/gtk-doc/html/p11-kit/trust-nss.html +3 -3
  249. data/vendor/local/share/gtk-doc/html/p11-kit/trust.html +42 -7
  250. data/vendor/local/share/info/libidn2.info +94 -54
  251. data/vendor/local/share/locale/cs/LC_MESSAGES/libidn2.mo +0 -0
  252. data/vendor/local/share/locale/da/LC_MESSAGES/libidn2.mo +0 -0
  253. data/vendor/local/share/locale/de/LC_MESSAGES/libidn2.mo +0 -0
  254. data/vendor/local/share/locale/eo/LC_MESSAGES/libidn2.mo +0 -0
  255. data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
  256. data/vendor/local/share/locale/es/LC_MESSAGES/libidn2.mo +0 -0
  257. data/vendor/local/share/locale/fi/LC_MESSAGES/libidn2.mo +0 -0
  258. data/vendor/local/share/locale/fr/LC_MESSAGES/libidn2.mo +0 -0
  259. data/vendor/local/share/locale/fur/LC_MESSAGES/libidn2.mo +0 -0
  260. data/vendor/local/share/locale/hr/LC_MESSAGES/libidn2.mo +0 -0
  261. data/vendor/local/share/locale/hu/LC_MESSAGES/libidn2.mo +0 -0
  262. data/vendor/local/share/locale/id/LC_MESSAGES/libidn2.mo +0 -0
  263. data/vendor/local/share/locale/it/LC_MESSAGES/libidn2.mo +0 -0
  264. data/vendor/local/share/locale/ja/LC_MESSAGES/libidn2.mo +0 -0
  265. data/vendor/local/share/locale/nl/LC_MESSAGES/libidn2.mo +0 -0
  266. data/vendor/local/share/locale/pl/LC_MESSAGES/libidn2.mo +0 -0
  267. data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
  268. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/libidn2.mo +0 -0
  269. data/vendor/local/share/locale/ro/LC_MESSAGES/glib-networking.mo +0 -0
  270. data/vendor/local/share/locale/ro/LC_MESSAGES/libidn2.mo +0 -0
  271. data/vendor/local/share/locale/ru/LC_MESSAGES/glib-networking.mo +0 -0
  272. data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
  273. data/vendor/local/share/locale/sl/LC_MESSAGES/glib-networking.mo +0 -0
  274. data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
  275. data/vendor/local/share/locale/sr/LC_MESSAGES/libidn2.mo +0 -0
  276. data/vendor/local/share/locale/sv/LC_MESSAGES/glib-networking.mo +0 -0
  277. data/vendor/local/share/locale/sv/LC_MESSAGES/libidn2.mo +0 -0
  278. data/vendor/local/share/locale/uk/LC_MESSAGES/libidn2.mo +0 -0
  279. data/vendor/local/share/locale/vi/LC_MESSAGES/libidn2.mo +0 -0
  280. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib-networking.mo +0 -0
  281. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/libidn2.mo +0 -0
  282. data/vendor/local/share/man/man1/gapplication.1 +1 -1
  283. data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
  284. data/vendor/local/share/man/man1/gdbus.1 +1 -1
  285. data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
  286. data/vendor/local/share/man/man1/gio.1 +1 -6
  287. data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -1
  288. data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
  289. data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
  290. data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
  291. data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
  292. data/vendor/local/share/man/man1/gobject-query.1 +1 -1
  293. data/vendor/local/share/man/man1/gresource.1 +1 -1
  294. data/vendor/local/share/man/man1/gsettings.1 +1 -1
  295. data/vendor/local/share/man/man1/gtester-report.1 +1 -1
  296. data/vendor/local/share/man/man1/gtester.1 +1 -1
  297. data/vendor/local/share/man/man3/idn2_check_version.3 +1 -1
  298. data/vendor/local/share/man/man3/idn2_free.3 +1 -1
  299. data/vendor/local/share/man/man3/idn2_lookup_u8.3 +1 -1
  300. data/vendor/local/share/man/man3/idn2_lookup_ul.3 +1 -1
  301. data/vendor/local/share/man/man3/idn2_register_u8.3 +1 -1
  302. data/vendor/local/share/man/man3/idn2_register_ul.3 +3 -2
  303. data/vendor/local/share/man/man3/idn2_strerror.3 +1 -1
  304. data/vendor/local/share/man/man3/idn2_strerror_name.3 +1 -1
  305. data/vendor/local/share/man/man3/idn2_to_ascii_4i.3 +6 -3
  306. data/vendor/local/share/man/man3/idn2_to_ascii_4z.3 +6 -3
  307. data/vendor/local/share/man/man3/idn2_to_ascii_8z.3 +6 -3
  308. data/vendor/local/share/man/man3/idn2_to_ascii_lz.3 +6 -3
  309. data/vendor/local/share/man/man3/idn2_to_unicode_44i.3 +1 -1
  310. data/vendor/local/share/man/man3/idn2_to_unicode_4z4z.3 +1 -1
  311. data/vendor/local/share/man/man3/idn2_to_unicode_8z4z.3 +1 -1
  312. data/vendor/local/share/man/man3/idn2_to_unicode_8z8z.3 +1 -1
  313. data/vendor/local/share/man/man3/idn2_to_unicode_8zlz.3 +1 -1
  314. data/vendor/local/share/man/man3/idn2_to_unicode_lzlz.3 +1 -1
  315. data/vendor/local/share/p11-kit/modules/p11-kit-trust.module +3 -0
  316. data/version.rb +30 -0
  317. metadata +52 -71
  318. data/vendor/local/share/installed-tests/glib-networking/certificate.test +0 -3
  319. data/vendor/local/share/installed-tests/glib-networking/connection.test +0 -3
  320. data/vendor/local/share/installed-tests/glib-networking/dtls-connection.test +0 -3
  321. data/vendor/local/share/installed-tests/glib-networking/file-database.test +0 -3
  322. data/vendor/local/share/installed-tests/glib-networking/pkcs11-array.test +0 -3
  323. data/vendor/local/share/installed-tests/glib-networking/pkcs11-pin.test +0 -3
  324. data/vendor/local/share/installed-tests/glib-networking/pkcs11-slot.test +0 -3
  325. data/vendor/local/share/installed-tests/glib-networking/pkcs11-util.test +0 -3
@@ -3,12 +3,12 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
  <title>Modules: p11-kit</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
6
+ <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
7
7
  <link rel="home" href="index.html" title="p11-kit">
8
8
  <link rel="up" href="reference.html" title="API Reference">
9
9
  <link rel="prev" href="reference.html" title="API Reference">
10
10
  <link rel="next" href="p11-kit-URIs.html" title="URIs">
11
- <meta name="generator" content="GTK-Doc V1.25 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.27 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
13
  </head>
14
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -218,6 +218,9 @@ return <code class="literal">NULL</code>. Non-critical modules will be skipped
218
218
  and not included in the returned module list.</p>
219
219
  <p>Use <a class="link" href="p11-kit-Modules.html#p11-kit-modules-finalize-and-release" title="p11_kit_modules_finalize_and_release ()"><code class="function">p11_kit_modules_finalize_and_release()</code></a> when you're done with the
220
220
  modules returned by this function.</p>
221
+ <p>The <em class="parameter"><code>flags</code></em>
222
+ allowed by this function, as well as their meaning, are the
223
+ same as with <a class="link" href="p11-kit-Modules.html#p11-kit-modules-load" title="p11_kit_modules_load ()"><code class="function">p11_kit_modules_load()</code></a>.</p>
221
224
  <div class="refsect3">
222
225
  <a name="p11-kit-modules-load-and-initialize.parameters"></a><h4>Parameters</h4>
223
226
  <div class="informaltable"><table class="informaltable" width="100%" border="0">
@@ -298,6 +301,9 @@ modules. Other callers may be using the modules. Using unmanaged
298
301
  modules haphazardly is not recommended for this reason. Some
299
302
  modules (such as those configured with RPC) cannot be loaded in
300
303
  unmanaged mode, and will be skipped.</p>
304
+ <p>If <em class="parameter"><code>flags</code></em>
305
+ contains the <code class="literal">P11_KIT_MODULE_TRUSTED</code> flag then only the
306
+ marked as trusted modules will be loaded.</p>
301
307
  <p>Use <a class="link" href="p11-kit-Modules.html#p11-kit-modules-release" title="p11_kit_modules_release ()"><code class="function">p11_kit_modules_release()</code></a> to release the modules returned by
302
308
  this function.</p>
303
309
  <p>If this function fails, then an error message will be available via the
@@ -313,7 +319,7 @@ this function.</p>
313
319
  <tbody>
314
320
  <tr>
315
321
  <td class="parameter_name"><p>reserved</p></td>
316
- <td class="parameter_description"><p>set to <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
322
+ <td class="parameter_description"><p>set to <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
317
323
  <td class="parameter_annotations"> </td>
318
324
  </tr>
319
325
  <tr>
@@ -327,7 +333,7 @@ this function.</p>
327
333
  <div class="refsect3">
328
334
  <a name="p11-kit-modules-load.returns"></a><h4>Returns</h4>
329
335
  <p> a null terminated list of modules represented as PKCS#11
330
- function lists, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> on failure</p>
336
+ function lists, or <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> on failure</p>
331
337
  </div>
332
338
  </div>
333
339
  <hr>
@@ -353,7 +359,7 @@ different threads.</p>
353
359
  <p>When a module fails to initialize it is removed from the <em class="parameter"><code>modules</code></em>
354
360
  list.
355
361
  If the <em class="parameter"><code>failure_callback</code></em>
356
- is not <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> then it is called with the modules that
362
+ is not <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> then it is called with the modules that
357
363
  fail to initialize. For example, you may pass <a class="link" href="p11-kit-Modules.html#p11-kit-module-release" title="p11_kit_module_release ()"><code class="function">p11_kit_module_release()</code></a>
358
364
  as a <em class="parameter"><code>failure_callback</code></em>
359
365
  if the <em class="parameter"><code>modules</code></em>
@@ -362,7 +368,7 @@ as a <em class="parameter"><code>failure_callback</code></em>
362
368
  module that failed to initialize. Non-critical module failures do not affect
363
369
  the return value. If no critical modules failed to initialize then the
364
370
  return value will be <code class="literal">CKR_OK</code>.</p>
365
- <p>When modules are removed, the list will be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> terminated at the
371
+ <p>When modules are removed, the list will be <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> terminated at the
366
372
  appropriate place so it can continue to be used as a modules list.</p>
367
373
  <p>This function does not accept a <code class="code">CK_C_INITIALIZE_ARGS</code> argument.
368
374
  Custom initialization arguments cannot be supported when multiple consumers
@@ -378,7 +384,7 @@ load the same module.</p>
378
384
  <tbody>
379
385
  <tr>
380
386
  <td class="parameter_name"><p>modules</p></td>
381
- <td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> terminated list of modules</p></td>
387
+ <td class="parameter_description"><p>a <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> terminated list of modules</p></td>
382
388
  <td class="parameter_annotations"> </td>
383
389
  </tr>
384
390
  <tr>
@@ -514,7 +520,7 @@ usually unnecessary) to use this function on registered modules.</p>
514
520
  </div>
515
521
  <div class="refsect3">
516
522
  <a name="p11-kit-module-load.returns"></a><h4>Returns</h4>
517
- <p> the loaded module PKCS#11 functions or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> on failure</p>
523
+ <p> the loaded module PKCS#11 functions or <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> on failure</p>
518
524
  </div>
519
525
  </div>
520
526
  <hr>
@@ -660,7 +666,7 @@ managed or unmanaged.</p>
660
666
  </div>
661
667
  <div class="refsect3">
662
668
  <a name="p11-kit-module-for-name.returns"></a><h4>Returns</h4>
663
- <p> the module which matches the name, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if no match.</p>
669
+ <p> the module which matches the name, or <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if no match.</p>
664
670
  </div>
665
671
  </div>
666
672
  <hr>
@@ -671,7 +677,7 @@ p11_kit_module_get_name (<em class="parameter"><code><span class="type">CK_FUNCT
671
677
  <p>Get the configured name of the PKCS#11 module.</p>
672
678
  <p>Configured modules are loaded by <a class="link" href="p11-kit-Modules.html#p11-kit-modules-load" title="p11_kit_modules_load ()"><code class="function">p11_kit_modules_load()</code></a>. The module
673
679
  passed to this function can be either managed or unmanaged. Non
674
- configured modules will return <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
680
+ configured modules will return <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
675
681
  <p>Use <code class="function">free()</code> to release the return value when you're done with it.</p>
676
682
  <div class="refsect3">
677
683
  <a name="p11-kit-module-get-name.parameters"></a><h4>Parameters</h4>
@@ -734,7 +740,7 @@ p11_kit_module_get_filename (<em class="parameter"><code><span class="type">CK_F
734
740
  <p>Get the configured name of the PKCS#11 module.</p>
735
741
  <p>Configured modules are loaded by <a class="link" href="p11-kit-Modules.html#p11-kit-modules-load" title="p11_kit_modules_load ()"><code class="function">p11_kit_modules_load()</code></a>. The module
736
742
  passed to this function can be either managed or unmanaged. Non
737
- configured modules will return <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
743
+ configured modules will return <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
738
744
  <p>Use <code class="function">free()</code> to release the return value when you're done with it.</p>
739
745
  <div class="refsect3">
740
746
  <a name="p11-kit-module-get-filename.parameters"></a><h4>Parameters</h4>
@@ -765,12 +771,12 @@ p11_kit_config_option (<em class="parameter"><code><span class="type">CK_FUNCTIO
765
771
  <em class="parameter"><code>const <span class="type">char</span> *option</code></em>);</pre>
766
772
  <p>Retrieve the value for a configured option.</p>
767
773
  <p>If <em class="parameter"><code>module</code></em>
768
- is <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the global option with the given name will
774
+ is <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the global option with the given name will
769
775
  be retrieved. Otherwise <em class="parameter"><code>module</code></em>
770
776
  should point to a configured loaded module.
771
777
  If no such <em class="parameter"><code>option</code></em>
772
778
  or configured <em class="parameter"><code>module</code></em>
773
- exists, then <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned.</p>
779
+ exists, then <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned.</p>
774
780
  <p>Use <code class="function">free()</code> to release the returned value.</p>
775
781
  <div class="refsect3">
776
782
  <a name="p11-kit-config-option.parameters"></a><h4>Parameters</h4>
@@ -783,7 +789,7 @@ If no such <em class="parameter"><code>option</code></em>
783
789
  <tbody>
784
790
  <tr>
785
791
  <td class="parameter_name"><p>module</p></td>
786
- <td class="parameter_description"><p>the module to retrieve the option for, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> for global options</p></td>
792
+ <td class="parameter_description"><p>the module to retrieve the option for, or <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> for global options</p></td>
787
793
  <td class="parameter_annotations"> </td>
788
794
  </tr>
789
795
  <tr>
@@ -796,7 +802,7 @@ If no such <em class="parameter"><code>option</code></em>
796
802
  </div>
797
803
  <div class="refsect3">
798
804
  <a name="p11-kit-config-option.returns"></a><h4>Returns</h4>
799
- <p> the option value or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
805
+ <p> the option value or <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
800
806
  </div>
801
807
  </div>
802
808
  </div>
@@ -822,6 +828,6 @@ callers of the same module.</p>
822
828
  </div>
823
829
  </div>
824
830
  <div class="footer">
825
- <hr>Generated by GTK-Doc V1.25</div>
831
+ <hr>Generated by GTK-Doc V1.27</div>
826
832
  </body>
827
833
  </html>
@@ -3,12 +3,12 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
  <title>PIN Callbacks: p11-kit</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
6
+ <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
7
7
  <link rel="home" href="index.html" title="p11-kit">
8
8
  <link rel="up" href="reference.html" title="API Reference">
9
9
  <link rel="prev" href="p11-kit-URIs.html" title="URIs">
10
10
  <link rel="next" href="p11-kit-Utilities.html" title="Utilities">
11
- <meta name="generator" content="GTK-Doc V1.25 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.27 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
13
  </head>
14
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -185,7 +185,7 @@ value to <a class="link" href="p11-kit-PIN-Callbacks.html#p11-kit-pin-register-c
185
185
  called for every 'pin-source' attribute request for which no callback has been
186
186
  directly registered.</p>
187
187
  <p>To request a PIN for a given 'pin-source' attribute, use the
188
- <a class="link" href="p11-kit-PIN-Callbacks.html#p11-kit-pin-request" title="p11_kit_pin_request ()"><code class="function">p11_kit_pin_request()</code></a> function. If this function returns <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> then either
188
+ <a class="link" href="p11-kit-PIN-Callbacks.html#p11-kit-pin-request" title="p11_kit_pin_request ()"><code class="function">p11_kit_pin_request()</code></a> function. If this function returns <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> then either
189
189
  no callbacks were registered or none of them could handle the request.</p>
190
190
  <p>If multiple callbacks are registered for the same PIN source, then they are
191
191
  called in last-registered-first-called order. They are called in turn until
@@ -198,7 +198,7 @@ functions to create a PIN to be returned.</p>
198
198
  <p>For example in order to handle the following PKCS#11 URI with a 'pin-source'
199
199
  attribute</p>
200
200
  <code class="code"><div class="literallayout"><p><br>
201
-      pkcs11:id=%69%95%3e%5c%f4%bd%ec%91;pin-source=my-application<br>
201
+      pkcs11:id=\%69\%95\%3e\%5c\%f4\%bd\%ec\%91;pin-source=my-application<br>
202
202
  </p></div></code><p>an application could register a callback like this:</p>
203
203
  <div class="informalexample">
204
204
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
@@ -223,7 +223,7 @@ attribute</p>
223
223
  <span class="cbracket">}</span>
224
224
 
225
225
  <span class="function"><a href="p11-kit-PIN-Callbacks.html#p11-kit-pin-register-callback">p11_kit_pin_register_callback</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"my-application"</span><span class="symbol">,</span><span class="normal"> my_application_pin_callback</span><span class="symbol">,</span>
226
- <span class="normal"> <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
226
+ <span class="normal"> <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
227
227
  </tr>
228
228
  </tbody>
229
229
  </table>
@@ -329,7 +329,7 @@ caller to use a buffer as a PIN without copying it.</p>
329
329
  </tr>
330
330
  <tr>
331
331
  <td class="parameter_name"><p>destroy</p></td>
332
- <td class="parameter_description"><p>if not <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, then called when PIN is destroyed.</p></td>
332
+ <td class="parameter_description"><p>if not <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, then called when PIN is destroyed.</p></td>
333
333
  <td class="parameter_annotations"> </td>
334
334
  </tr>
335
335
  </tbody>
@@ -598,7 +598,7 @@ removed.</p>
598
598
  <a class="link" href="p11-kit-PIN-Callbacks.html#p11-kit-pin-request" title="p11_kit_pin_request ()"><code class="function">p11_kit_pin_request()</code></a>. The <em class="parameter"><code>callback_data</code></em>
599
599
  argument was the one passed to
600
600
  <a class="link" href="p11-kit-PIN-Callbacks.html#p11-kit-pin-register-callback" title="p11_kit_pin_register_callback ()"><code class="function">p11_kit_pin_register_callback()</code></a> when registering this callback.</p>
601
- <p>The function should return <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if it could not provide a PIN, either
601
+ <p>The function should return <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if it could not provide a PIN, either
602
602
  because of an error or a user cancellation.</p>
603
603
  <p>If a PIN is returned, it will be unreferenced by the caller. So it should be
604
604
  either newly allocated, or referenced before returning.</p>
@@ -618,7 +618,7 @@ either newly allocated, or referenced before returning.</p>
618
618
  </tr>
619
619
  <tr>
620
620
  <td class="parameter_name"><p>pin_uri</p></td>
621
- <td class="parameter_description"><p>a PKCS#11 URI that the PIN is for, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
621
+ <td class="parameter_description"><p>a PKCS#11 URI that the PIN is for, or <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
622
622
  <td class="parameter_annotations"> </td>
623
623
  </tr>
624
624
  <tr>
@@ -641,7 +641,7 @@ either newly allocated, or referenced before returning.</p>
641
641
  </div>
642
642
  <div class="refsect3">
643
643
  <a name="p11-kit-pin-callback.returns"></a><h4>Returns</h4>
644
- <p> A PIN or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
644
+ <p> A PIN or <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
645
645
  </div>
646
646
  </div>
647
647
  <hr>
@@ -654,7 +654,7 @@ p11_kit_pin_request (<em class="parameter"><code>const <span class="type">char</
654
654
  <em class="parameter"><code><a class="link" href="p11-kit-PIN-Callbacks.html#P11KitPinFlags" title="enum P11KitPinFlags"><span class="type">P11KitPinFlags</span></a> pin_flags</code></em>);</pre>
655
655
  <p>Request a PIN for a given 'pin-source' attribute. The result depends on the
656
656
  registered callbacks.</p>
657
- <p>If not <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the <em class="parameter"><code>pin_uri</code></em>
657
+ <p>If not <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the <em class="parameter"><code>pin_uri</code></em>
658
658
  attribute should point to the thing that the
659
659
  PIN is being requested for. In most use cases this should be a PKCS#11 URI
660
660
  pointing to a token.</p>
@@ -688,12 +688,12 @@ callback has been registered specifically for <em class="parameter"><code>pin_so
688
688
  </tr>
689
689
  <tr>
690
690
  <td class="parameter_name"><p>pin_uri</p></td>
691
- <td class="parameter_description"><p>a PKCS#11 URI that the PIN is being requested for, optionally <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
691
+ <td class="parameter_description"><p>a PKCS#11 URI that the PIN is being requested for, optionally <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
692
692
  <td class="parameter_annotations"> </td>
693
693
  </tr>
694
694
  <tr>
695
695
  <td class="parameter_name"><p>pin_description</p></td>
696
- <td class="parameter_description"><p>a description of what the PIN is for, must not be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
696
+ <td class="parameter_description"><p>a description of what the PIN is for, must not be <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
697
697
  <td class="parameter_annotations"> </td>
698
698
  </tr>
699
699
  <tr>
@@ -706,7 +706,7 @@ callback has been registered specifically for <em class="parameter"><code>pin_so
706
706
  </div>
707
707
  <div class="refsect3">
708
708
  <a name="p11-kit-pin-request.returns"></a><h4>Returns</h4>
709
- <p> the PIN which should be released with <a class="link" href="p11-kit-PIN-Callbacks.html#p11-kit-pin-unref" title="p11_kit_pin_unref ()"><code class="function">p11_kit_pin_unref()</code></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
709
+ <p> the PIN which should be released with <a class="link" href="p11-kit-PIN-Callbacks.html#p11-kit-pin-unref" title="p11_kit_pin_unref ()"><code class="function">p11_kit_pin_unref()</code></a>, or <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
710
710
  if no callback was registered or could proivde a PIN</p>
711
711
  </div>
712
712
  </div>
@@ -747,7 +747,7 @@ a file with that name. This can be used to enable the normal PKCS#11 URI
747
747
  behavior described in the RFC.</p>
748
748
  <p>If <em class="parameter"><code>pin_flags</code></em>
749
749
  contains the <a class="link" href="p11-kit-PIN-Callbacks.html#P11-KIT-PIN-FLAGS-RETRY:CAPS"><code class="literal">P11_KIT_PIN_FLAGS_RETRY</code></a> flag, then this
750
- callback will always return <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. This is to prevent endless loops
750
+ callback will always return <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. This is to prevent endless loops
751
751
  where an application is expecting to interact with a prompter, but
752
752
  instead is interacting with this callback reading a file over and over.</p>
753
753
  <p>This callback fails on files larger than 4 Kilobytes.</p>
@@ -761,7 +761,7 @@ in use. To register it, use code like the following:</p>
761
761
  <td class="listing_lines" align="right"><pre>1
762
762
  2</pre></td>
763
763
  <td class="listing_code"><pre class="programlisting"><span class="function"><a href="p11-kit-PIN-Callbacks.html#p11-kit-pin-register-callback">p11_kit_pin_register_callback</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="p11-kit-PIN-Callbacks.html#P11-KIT-PIN-FALLBACK:CAPS">P11_KIT_PIN_FALLBACK</a></span><span class="symbol">,</span><span class="normal"> <a href="p11-kit-PIN-Callbacks.html#p11-kit-pin-file-callback">p11_kit_pin_file_callback</a></span><span class="symbol">,</span>
764
- <span class="normal"> <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
764
+ <span class="normal"> <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
765
765
  </tr>
766
766
  </tbody>
767
767
  </table>
@@ -783,7 +783,7 @@ in use. To register it, use code like the following:</p>
783
783
  </tr>
784
784
  <tr>
785
785
  <td class="parameter_name"><p>pin_uri</p></td>
786
- <td class="parameter_description"><p>a PKCS#11 URI that the PIN is for, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
786
+ <td class="parameter_description"><p>a PKCS#11 URI that the PIN is for, or <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
787
787
  <td class="parameter_annotations"> </td>
788
788
  </tr>
789
789
  <tr>
@@ -798,7 +798,7 @@ in use. To register it, use code like the following:</p>
798
798
  </tr>
799
799
  <tr>
800
800
  <td class="parameter_name"><p>callback_data</p></td>
801
- <td class="parameter_description"><p>unused, should be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
801
+ <td class="parameter_description"><p>unused, should be <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
802
802
  <td class="parameter_annotations"> </td>
803
803
  </tr>
804
804
  </tbody>
@@ -806,7 +806,7 @@ in use. To register it, use code like the following:</p>
806
806
  </div>
807
807
  <div class="refsect3">
808
808
  <a name="p11-kit-pin-file-callback.returns"></a><h4>Returns</h4>
809
- <p> a referenced PIN with the file contents, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if the file
809
+ <p> a referenced PIN with the file contents, or <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if the file
810
810
  could not be read</p>
811
811
  </div>
812
812
  </div>
@@ -890,6 +890,6 @@ This callback will be called if no other callback is registered for a 'pin-sourc
890
890
  </div>
891
891
  </div>
892
892
  <div class="footer">
893
- <hr>Generated by GTK-Doc V1.25</div>
893
+ <hr>Generated by GTK-Doc V1.27</div>
894
894
  </body>
895
895
  </html>
@@ -3,12 +3,12 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
  <title>URIs: p11-kit</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
6
+ <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
7
7
  <link rel="home" href="index.html" title="p11-kit">
8
8
  <link rel="up" href="reference.html" title="API Reference">
9
9
  <link rel="prev" href="p11-kit-Modules.html" title="Modules">
10
10
  <link rel="next" href="p11-kit-PIN-Callbacks.html" title="PIN Callbacks">
11
- <meta name="generator" content="GTK-Doc V1.25 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.27 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
13
  </head>
14
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -229,6 +229,51 @@
229
229
  </td>
230
230
  </tr>
231
231
  <tr>
232
+ <td class="function_type">const <span class="returnvalue">char</span> *
233
+ </td>
234
+ <td class="function_name">
235
+ <a class="link" href="p11-kit-URIs.html#p11-kit-uri-get-module-name" title="p11_kit_uri_get_module_name ()">p11_kit_uri_get_module_name</a> <span class="c_punctuation">()</span>
236
+ </td>
237
+ </tr>
238
+ <tr>
239
+ <td class="function_type">
240
+ <span class="returnvalue">void</span>
241
+ </td>
242
+ <td class="function_name">
243
+ <a class="link" href="p11-kit-URIs.html#p11-kit-uri-set-module-name" title="p11_kit_uri_set_module_name ()">p11_kit_uri_set_module_name</a> <span class="c_punctuation">()</span>
244
+ </td>
245
+ </tr>
246
+ <tr>
247
+ <td class="function_type">const <span class="returnvalue">char</span> *
248
+ </td>
249
+ <td class="function_name">
250
+ <a class="link" href="p11-kit-URIs.html#p11-kit-uri-get-module-path" title="p11_kit_uri_get_module_path ()">p11_kit_uri_get_module_path</a> <span class="c_punctuation">()</span>
251
+ </td>
252
+ </tr>
253
+ <tr>
254
+ <td class="function_type">
255
+ <span class="returnvalue">void</span>
256
+ </td>
257
+ <td class="function_name">
258
+ <a class="link" href="p11-kit-URIs.html#p11-kit-uri-set-module-path" title="p11_kit_uri_set_module_path ()">p11_kit_uri_set_module_path</a> <span class="c_punctuation">()</span>
259
+ </td>
260
+ </tr>
261
+ <tr>
262
+ <td class="function_type">const <span class="returnvalue">char</span> *
263
+ </td>
264
+ <td class="function_name">
265
+ <a class="link" href="p11-kit-URIs.html#p11-kit-uri-get-vendor-query" title="p11_kit_uri_get_vendor_query ()">p11_kit_uri_get_vendor_query</a> <span class="c_punctuation">()</span>
266
+ </td>
267
+ </tr>
268
+ <tr>
269
+ <td class="function_type">
270
+ <span class="returnvalue">int</span>
271
+ </td>
272
+ <td class="function_name">
273
+ <a class="link" href="p11-kit-URIs.html#p11-kit-uri-set-vendor-query" title="p11_kit_uri_set_vendor_query ()">p11_kit_uri_set_vendor_query</a> <span class="c_punctuation">()</span>
274
+ </td>
275
+ </tr>
276
+ <tr>
232
277
  <td class="function_type">
233
278
  <span class="returnvalue">int</span>
234
279
  </td>
@@ -306,9 +351,9 @@
306
351
  <p>PKCS#11 URIs can be used in configuration files or applications to represent
307
352
  PKCS#11 modules, tokens or objects. An example of a URI might be:</p>
308
353
  <code class="code"><div class="literallayout"><p><br>
309
-      pkcs11:token=The%20Software%20PKCS#11%20softtoken;<br>
310
-          manufacturer=Snake%20Oil,%20Inc.;serial=;object=my-certificate;<br>
311
-          model=1.0;type=cert;id=%69%95%3e%5c%f4%bd%ec%91<br>
354
+      pkcs11:token=The\%20Software\%20PKCS#11\%20softtoken;<br>
355
+          manufacturer=Snake\%20Oil,\%20Inc.;serial=;object=my-certificate;<br>
356
+          model=1.0;type=cert;id=\%69\%95\%3e\%5c\%f4\%bd\%ec\%91<br>
312
357
  </p></div></code><p>You can use <a class="link" href="p11-kit-URIs.html#p11-kit-uri-parse" title="p11_kit_uri_parse ()"><code class="function">p11_kit_uri_parse()</code></a> to parse such a URI, and <a class="link" href="p11-kit-URIs.html#p11-kit-uri-format" title="p11_kit_uri_format ()"><code class="function">p11_kit_uri_format()</code></a>
313
358
  to build one. URIs are represented by the <a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> structure. You can match
314
359
  a parsed URI against PKCS#11 tokens with <a class="link" href="p11-kit-URIs.html#p11-kit-uri-match-token-info" title="p11_kit_uri_match_token_info ()"><code class="function">p11_kit_uri_match_token_info()</code></a>
@@ -370,8 +415,8 @@ resulting URI should be filled with zeros.</p>
370
415
  <div class="refsect2">
371
416
  <a name="p11-kit-uri-match-module-info"></a><h3>p11_kit_uri_match_module_info ()</h3>
372
417
  <pre class="programlisting"><span class="returnvalue">int</span>
373
- p11_kit_uri_match_module_info (<em class="parameter"><code><a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>,
374
- <em class="parameter"><code><span class="type">CK_INFO_PTR</span> info</code></em>);</pre>
418
+ p11_kit_uri_match_module_info (<em class="parameter"><code>const <a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>,
419
+ <em class="parameter"><code>const <span class="type">CK_INFO</span> *info</code></em>);</pre>
375
420
  <p>Match a <code class="code">CK_INFO</code> structure against the library parts of this URI.</p>
376
421
  <p>Only the fields of the <code class="code">CK_INFO</code> structure that are valid for use
377
422
  in a URI will be matched. A URI part that was not specified in the URI will
@@ -440,8 +485,8 @@ resulting URI should be filled with zeros.</p>
440
485
  <div class="refsect2">
441
486
  <a name="p11-kit-uri-match-slot-info"></a><h3>p11_kit_uri_match_slot_info ()</h3>
442
487
  <pre class="programlisting"><span class="returnvalue">int</span>
443
- p11_kit_uri_match_slot_info (<em class="parameter"><code><a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>,
444
- <em class="parameter"><code><span class="type">CK_SLOT_INFO_PTR</span> slot_info</code></em>);</pre>
488
+ p11_kit_uri_match_slot_info (<em class="parameter"><code>const <a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>,
489
+ <em class="parameter"><code>const <span class="type">CK_SLOT_INFO</span> *slot_info</code></em>);</pre>
445
490
  <p>Match a <code class="code">CK_SLOT_INFO</code> structure against the slot parts of this
446
491
  URI.</p>
447
492
  <p>Only the fields of the <code class="code">CK_SLOT_INFO</code> structure that are valid
@@ -567,8 +612,8 @@ resulting URI should be filled with zeros.</p>
567
612
  <div class="refsect2">
568
613
  <a name="p11-kit-uri-match-token-info"></a><h3>p11_kit_uri_match_token_info ()</h3>
569
614
  <pre class="programlisting"><span class="returnvalue">int</span>
570
- p11_kit_uri_match_token_info (<em class="parameter"><code><a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>,
571
- <em class="parameter"><code><span class="type">CK_TOKEN_INFO_PTR</span> token_info</code></em>);</pre>
615
+ p11_kit_uri_match_token_info (<em class="parameter"><code>const <a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>,
616
+ <em class="parameter"><code>const <span class="type">CK_TOKEN_INFO</span> *token_info</code></em>);</pre>
572
617
  <p>Match a <code class="code">CK_TOKEN_INFO</code> structure against the token parts of this
573
618
  URI.</p>
574
619
  <p>Only the fields of the <code class="code">CK_TOKEN_INFO</code> structure that are valid
@@ -627,8 +672,8 @@ p11_kit_uri_clear_attributes (<em class="parameter"><code><a class="link" href="
627
672
  <div class="refsect2">
628
673
  <a name="p11-kit-uri-match-attributes"></a><h3>p11_kit_uri_match_attributes ()</h3>
629
674
  <pre class="programlisting"><span class="returnvalue">int</span>
630
- p11_kit_uri_match_attributes (<em class="parameter"><code><a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>,
631
- <em class="parameter"><code><span class="type">CK_ATTRIBUTE_PTR</span> attrs</code></em>,
675
+ p11_kit_uri_match_attributes (<em class="parameter"><code>const <a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>,
676
+ <em class="parameter"><code>const <span class="type">CK_ATTRIBUTE</span> *attrs</code></em>,
632
677
  <em class="parameter"><code><span class="type">CK_ULONG</span> n_attrs</code></em>);</pre>
633
678
  <p>Match a attributes against the object parts of this URI.</p>
634
679
  <p>Only the attributes that are valid for use in a URI will be matched. A URI
@@ -780,7 +825,6 @@ p11_kit_uri_clear_attribute (<em class="parameter"><code><a class="link" href="p
780
825
  <pre class="programlisting"><span class="returnvalue">void</span>
781
826
  p11_kit_uri_set_unrecognized (<em class="parameter"><code><a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>,
782
827
  <em class="parameter"><code><span class="type">int</span> unrecognized</code></em>);</pre>
783
- <div class="warning"><p><code class="literal">p11_kit_uri_set_unrecognized</code> is deprecated and should not be used in newly-written code.</p></div>
784
828
  <p>Set the unrecognized flag on this URI.</p>
785
829
  <p>The unrecognized flag is automatically set to 1 when during parsing any part
786
830
  of the URI is unrecognized. If the unrecognized flag is set to 1, then
@@ -841,7 +885,7 @@ matching against this URI will always fail.</p>
841
885
  <div class="refsect2">
842
886
  <a name="p11-kit-uri-get-pin-value"></a><h3>p11_kit_uri_get_pin_value ()</h3>
843
887
  <pre class="programlisting">const <span class="returnvalue">char</span> *
844
- p11_kit_uri_get_pin_value (<em class="parameter"><code><a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>);</pre>
888
+ p11_kit_uri_get_pin_value (<em class="parameter"><code>const <a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>);</pre>
845
889
  <p>Get the 'pin-value' part of the URI. This is used by some applications to
846
890
  read the PIN for logging into a PKCS#11 token.</p>
847
891
  <div class="refsect3">
@@ -861,7 +905,7 @@ read the PIN for logging into a PKCS#11 token.</p>
861
905
  </div>
862
906
  <div class="refsect3">
863
907
  <a name="p11-kit-uri-get-pin-value.returns"></a><h4>Returns</h4>
864
- <p> The pin-value or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if not present.</p>
908
+ <p> The pin-value or <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if not present.</p>
865
909
  </div>
866
910
  </div>
867
911
  <hr>
@@ -899,7 +943,7 @@ specify the PIN for logging into a PKCS#11 token.</p>
899
943
  <div class="refsect2">
900
944
  <a name="p11-kit-uri-get-pin-source"></a><h3>p11_kit_uri_get_pin_source ()</h3>
901
945
  <pre class="programlisting">const <span class="returnvalue">char</span> *
902
- p11_kit_uri_get_pin_source (<em class="parameter"><code><a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>);</pre>
946
+ p11_kit_uri_get_pin_source (<em class="parameter"><code>const <a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>);</pre>
903
947
  <p>Get the 'pin-source' part of the URI. This is used by some applications to
904
948
  lookup a PIN for logging into a PKCS#11 token.</p>
905
949
  <div class="refsect3">
@@ -919,7 +963,7 @@ lookup a PIN for logging into a PKCS#11 token.</p>
919
963
  </div>
920
964
  <div class="refsect3">
921
965
  <a name="p11-kit-uri-get-pin-source.returns"></a><h4>Returns</h4>
922
- <p> The pin-source or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if not present.</p>
966
+ <p> The pin-source or <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if not present.</p>
923
967
  </div>
924
968
  </div>
925
969
  <hr>
@@ -957,7 +1001,7 @@ lookup a PIN for logging into a PKCS#11 token.</p>
957
1001
  <div class="refsect2">
958
1002
  <a name="p11-kit-uri-get-pinfile"></a><h3>p11_kit_uri_get_pinfile ()</h3>
959
1003
  <pre class="programlisting">const <span class="returnvalue">char</span> *
960
- p11_kit_uri_get_pinfile (<em class="parameter"><code><a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>);</pre>
1004
+ p11_kit_uri_get_pinfile (<em class="parameter"><code>const <a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>);</pre>
961
1005
  <div class="warning">
962
1006
  <p><code class="literal">p11_kit_uri_get_pinfile</code> is deprecated and should not be used in newly-written code.</p>
963
1007
  <p>use <a class="link" href="p11-kit-URIs.html#p11-kit-uri-get-pin-source" title="p11_kit_uri_get_pin_source ()"><code class="function">p11_kit_uri_get_pin_source()</code></a>.</p>
@@ -1013,6 +1057,203 @@ p11_kit_uri_set_pinfile (<em class="parameter"><code><a class="link" href="p11-k
1013
1057
  </div>
1014
1058
  <hr>
1015
1059
  <div class="refsect2">
1060
+ <a name="p11-kit-uri-get-module-name"></a><h3>p11_kit_uri_get_module_name ()</h3>
1061
+ <pre class="programlisting">const <span class="returnvalue">char</span> *
1062
+ p11_kit_uri_get_module_name (<em class="parameter"><code>const <a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>);</pre>
1063
+ <div class="warning"><p><code class="literal">p11_kit_uri_get_module_name</code> is deprecated and should not be used in newly-written code.</p></div>
1064
+ <p>Get the 'module-name' part of the URI. This is used by some
1065
+ applications to explicitly specify the name of a PKCS#11 module.</p>
1066
+ <div class="refsect3">
1067
+ <a name="p11-kit-uri-get-module-name.parameters"></a><h4>Parameters</h4>
1068
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1069
+ <colgroup>
1070
+ <col width="150px" class="parameters_name">
1071
+ <col class="parameters_description">
1072
+ <col width="200px" class="parameters_annotations">
1073
+ </colgroup>
1074
+ <tbody><tr>
1075
+ <td class="parameter_name"><p>uri</p></td>
1076
+ <td class="parameter_description"><p>The URI</p></td>
1077
+ <td class="parameter_annotations"> </td>
1078
+ </tr></tbody>
1079
+ </table></div>
1080
+ </div>
1081
+ <div class="refsect3">
1082
+ <a name="p11-kit-uri-get-module-name.returns"></a><h4>Returns</h4>
1083
+ <p> The module-name or <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if not present.</p>
1084
+ </div>
1085
+ </div>
1086
+ <hr>
1087
+ <div class="refsect2">
1088
+ <a name="p11-kit-uri-set-module-name"></a><h3>p11_kit_uri_set_module_name ()</h3>
1089
+ <pre class="programlisting"><span class="returnvalue">void</span>
1090
+ p11_kit_uri_set_module_name (<em class="parameter"><code><a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>,
1091
+ <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
1092
+ <p>Set the 'module-name' part of the URI. This is used by some
1093
+ applications to explicitly specify the name of a PKCS#11 module.</p>
1094
+ <div class="refsect3">
1095
+ <a name="p11-kit-uri-set-module-name.parameters"></a><h4>Parameters</h4>
1096
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1097
+ <colgroup>
1098
+ <col width="150px" class="parameters_name">
1099
+ <col class="parameters_description">
1100
+ <col width="200px" class="parameters_annotations">
1101
+ </colgroup>
1102
+ <tbody>
1103
+ <tr>
1104
+ <td class="parameter_name"><p>uri</p></td>
1105
+ <td class="parameter_description"><p>The URI</p></td>
1106
+ <td class="parameter_annotations"> </td>
1107
+ </tr>
1108
+ <tr>
1109
+ <td class="parameter_name"><p>name</p></td>
1110
+ <td class="parameter_description"><p>The new module-name</p></td>
1111
+ <td class="parameter_annotations"> </td>
1112
+ </tr>
1113
+ </tbody>
1114
+ </table></div>
1115
+ </div>
1116
+ </div>
1117
+ <hr>
1118
+ <div class="refsect2">
1119
+ <a name="p11-kit-uri-get-module-path"></a><h3>p11_kit_uri_get_module_path ()</h3>
1120
+ <pre class="programlisting">const <span class="returnvalue">char</span> *
1121
+ p11_kit_uri_get_module_path (<em class="parameter"><code>const <a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>);</pre>
1122
+ <p>Get the 'module-path' part of the URI. This is used by some
1123
+ applications to explicitly specify the path of a PKCS#11 module.</p>
1124
+ <div class="refsect3">
1125
+ <a name="p11-kit-uri-get-module-path.parameters"></a><h4>Parameters</h4>
1126
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1127
+ <colgroup>
1128
+ <col width="150px" class="parameters_name">
1129
+ <col class="parameters_description">
1130
+ <col width="200px" class="parameters_annotations">
1131
+ </colgroup>
1132
+ <tbody><tr>
1133
+ <td class="parameter_name"><p>uri</p></td>
1134
+ <td class="parameter_description"><p>The URI</p></td>
1135
+ <td class="parameter_annotations"> </td>
1136
+ </tr></tbody>
1137
+ </table></div>
1138
+ </div>
1139
+ <div class="refsect3">
1140
+ <a name="p11-kit-uri-get-module-path.returns"></a><h4>Returns</h4>
1141
+ <p> The module-path or <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if not present.</p>
1142
+ </div>
1143
+ </div>
1144
+ <hr>
1145
+ <div class="refsect2">
1146
+ <a name="p11-kit-uri-set-module-path"></a><h3>p11_kit_uri_set_module_path ()</h3>
1147
+ <pre class="programlisting"><span class="returnvalue">void</span>
1148
+ p11_kit_uri_set_module_path (<em class="parameter"><code><a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>,
1149
+ <em class="parameter"><code>const <span class="type">char</span> *path</code></em>);</pre>
1150
+ <p>Set the 'module-path' part of the URI. This is used by some
1151
+ applications to explicitly specify the path of a PKCS#11 module.</p>
1152
+ <div class="refsect3">
1153
+ <a name="p11-kit-uri-set-module-path.parameters"></a><h4>Parameters</h4>
1154
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1155
+ <colgroup>
1156
+ <col width="150px" class="parameters_name">
1157
+ <col class="parameters_description">
1158
+ <col width="200px" class="parameters_annotations">
1159
+ </colgroup>
1160
+ <tbody>
1161
+ <tr>
1162
+ <td class="parameter_name"><p>uri</p></td>
1163
+ <td class="parameter_description"><p>The URI</p></td>
1164
+ <td class="parameter_annotations"> </td>
1165
+ </tr>
1166
+ <tr>
1167
+ <td class="parameter_name"><p>path</p></td>
1168
+ <td class="parameter_description"><p>The new module-path</p></td>
1169
+ <td class="parameter_annotations"> </td>
1170
+ </tr>
1171
+ </tbody>
1172
+ </table></div>
1173
+ </div>
1174
+ </div>
1175
+ <hr>
1176
+ <div class="refsect2">
1177
+ <a name="p11-kit-uri-get-vendor-query"></a><h3>p11_kit_uri_get_vendor_query ()</h3>
1178
+ <pre class="programlisting">const <span class="returnvalue">char</span> *
1179
+ p11_kit_uri_get_vendor_query (<em class="parameter"><code>const <a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>,
1180
+ <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
1181
+ <p>Get the vendor query part of the URI, identified by <em class="parameter"><code>name</code></em>
1182
+ . This is
1183
+ used by some applications to explicitly specify the path of a
1184
+ PKCS#11 module.</p>
1185
+ <div class="refsect3">
1186
+ <a name="p11-kit-uri-get-vendor-query.parameters"></a><h4>Parameters</h4>
1187
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1188
+ <colgroup>
1189
+ <col width="150px" class="parameters_name">
1190
+ <col class="parameters_description">
1191
+ <col width="200px" class="parameters_annotations">
1192
+ </colgroup>
1193
+ <tbody>
1194
+ <tr>
1195
+ <td class="parameter_name"><p>uri</p></td>
1196
+ <td class="parameter_description"><p>The URI</p></td>
1197
+ <td class="parameter_annotations"> </td>
1198
+ </tr>
1199
+ <tr>
1200
+ <td class="parameter_name"><p>name</p></td>
1201
+ <td class="parameter_description"><p>The name of vendor query</p></td>
1202
+ <td class="parameter_annotations"> </td>
1203
+ </tr>
1204
+ </tbody>
1205
+ </table></div>
1206
+ </div>
1207
+ <div class="refsect3">
1208
+ <a name="p11-kit-uri-get-vendor-query.returns"></a><h4>Returns</h4>
1209
+ <p> The value of vendor query or <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if not present.</p>
1210
+ </div>
1211
+ </div>
1212
+ <hr>
1213
+ <div class="refsect2">
1214
+ <a name="p11-kit-uri-set-vendor-query"></a><h3>p11_kit_uri_set_vendor_query ()</h3>
1215
+ <pre class="programlisting"><span class="returnvalue">int</span>
1216
+ p11_kit_uri_set_vendor_query (<em class="parameter"><code><a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>,
1217
+ <em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
1218
+ <em class="parameter"><code>const <span class="type">char</span> *value</code></em>);</pre>
1219
+ <p>Set the vendor query part of the URI, identified by <em class="parameter"><code>name</code></em>
1220
+ . This is
1221
+ used by some applications to explicitly specify the path of a
1222
+ PKCS#11 module.</p>
1223
+ <div class="refsect3">
1224
+ <a name="p11-kit-uri-set-vendor-query.parameters"></a><h4>Parameters</h4>
1225
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1226
+ <colgroup>
1227
+ <col width="150px" class="parameters_name">
1228
+ <col class="parameters_description">
1229
+ <col width="200px" class="parameters_annotations">
1230
+ </colgroup>
1231
+ <tbody>
1232
+ <tr>
1233
+ <td class="parameter_name"><p>uri</p></td>
1234
+ <td class="parameter_description"><p>The URI</p></td>
1235
+ <td class="parameter_annotations"> </td>
1236
+ </tr>
1237
+ <tr>
1238
+ <td class="parameter_name"><p>name</p></td>
1239
+ <td class="parameter_description"><p>The name of vendor query</p></td>
1240
+ <td class="parameter_annotations"> </td>
1241
+ </tr>
1242
+ <tr>
1243
+ <td class="parameter_name"><p>value</p></td>
1244
+ <td class="parameter_description"><p>The value of vendor query. </p></td>
1245
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1246
+ </tr>
1247
+ </tbody>
1248
+ </table></div>
1249
+ </div>
1250
+ <div class="refsect3">
1251
+ <a name="p11-kit-uri-set-vendor-query.returns"></a><h4>Returns</h4>
1252
+ <p> 1 if the vendor query is set or removed, 0 if not.</p>
1253
+ </div>
1254
+ </div>
1255
+ <hr>
1256
+ <div class="refsect2">
1016
1257
  <a name="p11-kit-uri-format"></a><h3>p11_kit_uri_format ()</h3>
1017
1258
  <pre class="programlisting"><span class="returnvalue">int</span>
1018
1259
  p11_kit_uri_format (<em class="parameter"><code><a class="link" href="p11-kit-URIs.html#P11KitUri" title="P11KitUri"><span class="type">P11KitUri</span></a> *uri</code></em>,
@@ -1148,7 +1389,7 @@ p11_kit_uri_free (<em class="parameter"><code><a class="link" href="p11-kit-URIs
1148
1389
  p11_kit_uri_message (<em class="parameter"><code><span class="type">int</span> code</code></em>);</pre>
1149
1390
  <p>Lookup a message for the uri error code. These codes are the P11_KIT_URI_XXX
1150
1391
  error codes that can be returned from <a class="link" href="p11-kit-URIs.html#p11-kit-uri-parse" title="p11_kit_uri_parse ()"><code class="function">p11_kit_uri_parse()</code></a> or
1151
- <a class="link" href="p11-kit-URIs.html#p11-kit-uri-format" title="p11_kit_uri_format ()"><code class="function">p11_kit_uri_format()</code></a>. As a special case <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, will be returned for
1392
+ <a class="link" href="p11-kit-URIs.html#p11-kit-uri-format" title="p11_kit_uri_format ()"><code class="function">p11_kit_uri_format()</code></a>. As a special case <a href="../liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, will be returned for
1152
1393
  <a class="link" href="p11-kit-URIs.html#P11-KIT-URI-OK:CAPS"><code class="literal">P11_KIT_URI_OK</code></a>.</p>
1153
1394
  <div class="refsect3">
1154
1395
  <a name="p11-kit-uri-message.parameters"></a><h4>Parameters</h4>
@@ -1357,6 +1598,6 @@ visible in this structure. Use the various accessor functions.</p>
1357
1598
  </div>
1358
1599
  </div>
1359
1600
  <div class="footer">
1360
- <hr>Generated by GTK-Doc V1.25</div>
1601
+ <hr>Generated by GTK-Doc V1.27</div>
1361
1602
  </body>
1362
1603
  </html>