Skip to content

Commit

Permalink
file_out: adjust syntax of examples to standard
Browse files Browse the repository at this point in the history
  • Loading branch information
henningw committed Feb 1, 2024
1 parent a689200 commit 6478ac0
Showing 1 changed file with 21 additions and 22 deletions.
43 changes: 21 additions & 22 deletions src/modules/file_out/doc/file_out_admin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@
<example>
<title>Set <varname>base_folder</varname> parameter</title>
<programlisting format="linespecific">
...
modparam("file_out", "base_folder", "/tmp/file_out/")
...
...
modparam("file_out", "base_folder", "/tmp/file_out/")
...
</programlisting>
</example>

Expand All @@ -95,9 +95,9 @@
<example>
<title>Set <varname>base_filename</varname> parameter</title>
<programlisting format="linespecific">
...
modparam("file_out", "base_filename", "accounting")
...
...
modparam("file_out", "base_filename", "accounting")
...
</programlisting>
</example>

Expand All @@ -114,9 +114,9 @@
<example>
<title>Set <varname>extension</varname> parameter</title>
<programlisting format="linespecific">
...
modparam("file_out", "extension", ".txt")
...
...
modparam("file_out", "extension", ".txt")
...
</programlisting>
</example>

Expand All @@ -133,9 +133,9 @@
<example>
<title>Set <varname>interval_seconds</varname> parameter</title>
<programlisting format="linespecific">
...
modparam("file_out", "interval_seconds", "300")
...
...
modparam("file_out", "interval_seconds", "300")
...
</programlisting>
</example>

Expand All @@ -161,16 +161,15 @@
<title>
<function>file_out</function> usage</title>
<programlisting format="linespecific">
...
modparam("file_out", "base_filename", "accounting")
modparam("file_out", "base_filename", "missed_calls")
...
request_route {

file_out("0", "Writing to accounting.out file $rm from $fu (IP:$si:$sp)");
file_out("1", "Writing to missed_calls.out file $rm from $fu (IP:$si:$sp)");
...
}
...
modparam("file_out", "base_filename", "accounting")
modparam("file_out", "base_filename", "missed_calls")

request_route {
file_out("0", "Writing to accounting.out file $rm from $fu");
file_out("1", "Writing to missed_calls.out file $rm from $fu");
}
...
</programlisting>
</example>
</section>
Expand Down

0 comments on commit 6478ac0

Please sign in to comment.