{"id":78,"date":"2015-01-07T17:54:15","date_gmt":"2015-01-07T17:54:15","guid":{"rendered":"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/?page_id=78"},"modified":"2017-01-31T12:28:43","modified_gmt":"2017-01-31T12:28:43","slug":"orchids-modules-conf","status":"publish","type":"page","link":"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/?page_id=78","title":{"rendered":"orchids-modules.conf"},"content":{"rendered":"<p>The <code>orchids-modules.conf<\/code> file describes the list of modules that Orchids will load. These modules, a.k.a., plugins or DLLs, are pieces of code that Orchids loads dynamically, at startup.<\/p>\n<p>The <code>orchids-modules.conf<\/code> file is normally included from <a title=\"orchids.conf\" href=\"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/?page_id=68\"><code>orchids.conf<\/code><\/a>.<\/p>\n<p>It has the following typical structure:<\/p>\n<pre>ModuleDir \"\/usr\/local\/lib\/orchids\"<\/pre>\n<p>which states where the modules are located (or <code>ModuleDir \"@@LIBDIR@@\/orchids\"<\/code> in the <code>orchids-modules.conf.dist<\/code> file), followed by directives of the form <code>LoadModule<\/code> <em>module-name<\/em>, instructing Orchids to load module <em>module-name<\/em>, for example:<\/p>\n<pre>LoadModule textfile\r\nLoadModule bintotext\r\nLoadModule syslog\r\nLoadModule auditd\r\n<\/pre>\n<p>etc.\u00a0 All directives are executed in order.\u00a0 You may change the current module directory by executing as many <code>SetModuleDir<\/code> directives as needed.<\/p>\n<p>The <code>LoadModule<\/code> <em>module-name<\/em> directive expects to find a DLL named <code>mod_<\/code><em>module-name<\/em><code>.so<\/code> in the current module directory (<code>\/usr\/local\/lib\/orchids<\/code>, in our example).<\/p>\n<p>The module is then known as <em>module-name<\/em> to Orchids.\u00a0 This is used in naming field names provided by the module.\u00a0 For example, there is a field <code>.textfile.line<\/code> provided by module <a title=\"The textfile module\" href=\"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/?page_id=87\"><code>textfile<\/code><\/a>.\u00a0 (This holds a line of text.)<\/p>\n<p>See the complete list of <a title=\"List of Orchids modules\" href=\"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/?page_id=114\">Orchids modules<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The orchids-modules.conf file describes the list of modules that Orchids will load. These modules, a.k.a., plugins or DLLs, are pieces of code that Orchids loads dynamically, at startup. The orchids-modules.conf file is normally included from orchids.conf. It has the following typical structure: ModuleDir &#8220;\/usr\/local\/lib\/orchids&#8221; which states where the modules are located (or ModuleDir &#8220;@@LIBDIR@@\/orchids&#8221; in &hellip; <a href=\"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/?page_id=78\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">orchids-modules.conf<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-78","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/index.php?rest_route=\/wp\/v2\/pages\/78","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=78"}],"version-history":[{"count":8,"href":"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/index.php?rest_route=\/wp\/v2\/pages\/78\/revisions"}],"predecessor-version":[{"id":554,"href":"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/index.php?rest_route=\/wp\/v2\/pages\/78\/revisions\/554"}],"wp:attachment":[{"href":"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}