xmlrpc.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
  4. <section id="gflags.xmlrpc" xmlns:xi="http://www.w3.org/2001/XInclude">
  5. <sectioninfo>
  6. </sectioninfo>
  7. <title>XMLRPC Interface</title>
  8. <para>
  9. The state of the global flags can be read and modified over the XMLRPC
  10. interface. This module implements the following XMLRPC interface commands:
  11. </para>
  12. <itemizedlist>
  13. <listitem>
  14. <para>
  15. <emphasis>gflags.set</emphasis> - Set the value of a flag to
  16. 1. The function accepts one parameter which is the number of
  17. the flag to be set.
  18. </para>
  19. </listitem>
  20. <listitem>
  21. <para>
  22. <emphasis>gflags.reset</emphasis> - Reset the value of a flag to
  23. 0. The function accepts one parameter which is the number of
  24. the flag to be reset.
  25. </para>
  26. </listitem>
  27. <listitem>
  28. <para>
  29. <emphasis>gflags.is_set</emphasis> - Return the status of a
  30. flag. The FIFO function would return TRUE if the flag is set
  31. and FALSE if it is not set. The only parameter of this function
  32. is the number of the flag.
  33. </para>
  34. </listitem>
  35. <listitem>
  36. <para>
  37. <emphasis>gflags.flush</emphasis> - Flush the state of global flags
  38. into database.
  39. </para>
  40. </listitem>
  41. <listitem>
  42. <para>
  43. <emphasis>gflags.dump</emphasis> - Return the status of all flags. The
  44. value is TRUE if the flag is set and FALSE if the flag is not set. The
  45. function has no parameters.
  46. </para>
  47. </listitem>
  48. <listitem>
  49. <para>
  50. <emphasis>global.reload</emphasis> - Reload values from global_attrs
  51. DB table. This function does not have any parameters. There is no return
  52. value on success.
  53. </para>
  54. </listitem>
  55. </itemizedlist>
  56. </section>