summary refs log tree commit diff stats
path: root/src/common/servlist.c
AgeCommit message (Expand)Author
2012-10-15Add SwiftIRCBerke Viktor
2012-10-13Get rid of some hardcodingBerke Viktor
2012-10-06Add SSL port to freenodeBerke Viktor
2012-10-06Add Fusion Latina and IRCHighWayBerke Viktor
2012-10-03Update GIMPNet name and serversBerke Viktor
2012-09-23Add 2 new networks and fix some sortingBerke Viktor
2012-09-09Add EsperNet - the server list really needs a rewrite btw, IFDEFs are uglyBerke Viktor
2012-09-01Add Chat4all networkBerke Viktor
2012-08-06reordered snoo because i dunno my ABC'sZachary Bloomquist
2012-08-06fixen snoonet sslZachary Bloomquist
2012-08-05added Snoonet, 600+ user netZachary Bloomquist
2012-07-31Fix port number for EntropyNetBerke Viktor
2012-07-31Add Windfyre to the Network ListBerke Viktor
2012-07-31Add EntropyNet to the Network ListBerke Viktor
2012-07-31Remove dead networks from the Network ListBerke Viktor
2012-07-30Update src/common/servlist.cJoah
2012-07-27Update src/common/servlist.cluminoso
2012-07-12Make #hexchat@freenode the defaultBerke Viktor
2012-06-16Fix string handling for Turkish localeBerke Viktor
2012-01-08Merge branch 'master' into wdkBerke Viktor
2012-01-08update xchat to r1499Berke Viktor
2011-12-11initial patches for linux compatibilityBerke Viktor
2011-05-30Merge with defaultberkeviktor@aol.com
2011-05-30update xchat to r1496berkeviktor@aol.com
2011-02-28add wdk changes to named branchberkeviktor@aol.com
2011-02-24add xchat r1489berkeviktor@aol.com
ang */ .highlight .cm { color: #888888 } /* Comment.Multiline */ .highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */ .highlight .cpf { color: #888888 } /* Comment.PreprocFile */ .highlight .c1 { color: #888888 } /* Comment.Single */ .highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */ .highlight .gr { color: #aa0000 } /* Generic.Error */ .highlight .gh { color: #333333 } /* Generic.Heading */ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ .highlight .go { color: #888888 } /* Generic.Output */ .highlight .gp { color: #555555 } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
For more help you can see the xchat plugin interface documentation.
http://www.xchat.org/docs/plugin20.html
WARNING: The dbus interface may change in the future.

You can use the "/org/xchat/Remote" object with interface "org.xchat.plugin",
but his context can be changed by other clients at any moment and
you may receive signal asked by other clients. So for more complex usage it's
better to get your own remote object. Using "Connect" method on interface
"org.xchat.connection"

Available methods on org.xchat.connection interface:

"Connect"
  - Parameters:
    - gchar*: filename
    - gchar*: name
    - gchar*: description
    - gchar*: version
  - Returns:
    - gchar*: Your own object's path.

"Disconnect"
  No parameter, no return value. It frees your remote object.

Available methods on org.xchat.plugin interface:

"Command"
  - Parameters:
    - gchar*: the command name without the "/". (e.g. "nick pseudo")

"Print"
  - Parameters:
    - gchar*: text to print on the xchat window.

"FindContext"
  - Parameters:
    - gchar*: the server name. Can be NULL.
    - gchar*: the channel name. Can be NULL.
  - Returns:
    - guint: context ID

"GetContext"
  - Returns:
    - guint: current context's ID

"SetContext"
  - Parameters:
    - guint: context ID to switch, returned by "FindContext" or "GetContext"
  - Returns:
    - gboolean: 1 for success, 0 for failure.

"GetInfo"
  - Parameters:
    - gchar*: ID of the information you want.
  - Returns:
    - gchar*: information you requested.

"GetPrefs"
  - Parameters:
    - gchar*: Setting name required.
  - Returns:
    - int: 0-Failed 1-Returned a string 2-Returned an Integer
           3-Returned a Boolean.
    - gchar*: the information requested if it's a string.
    - int: the information requested if it's a integer or boolean.

"HookCommand"
  - Parameters:
    - gchar*: Name of the command (without the forward slash).
    - int: Priority of this command.
    - gchar*: String of text to display when the user executes /help
              for this command. May be NULL if you're lazy.
    - int: Value to returns when the command is catched. See XCHAT_EAT_*.
  - Returns:
    - guint: The ID of the hook.

"HookServer"
  - Parameters:
    - gchar*: Name of the server event.
    - int: Priority of this command.
    - int: Value to returns when the command is catched. See XCHAT_EAT_*.
  - Returns:
    - guint: The ID of the hook.

"HookPrint"
  - Parameters:
    - gchar*: Name of the print event.
    - int: Priority of this command.
    - int: Value to returns when the command is catched. See XCHAT_EAT_*.
  - Returns:
    - guint: The ID of the hook.

"Unhook"
  - Parameters:
    - guint: ID of the hook to unhook.
      (the return value of "HookCommand", "HookServer" or "HookPrint")

"ListGet"
  - Parameters:
    - gchar*: The list name.
  - Returns:
    - guint: List ID.

"ListNext"
  - Parameters:
    - guint: List ID returned by "ListGet".
  - Returns:
    - gboolean: says if there is no more item in the list.

"ListStr"
  - Parameters:
    - guint: List ID returned by "ListGet".
    - gchar*: Name of the information needed.
  - Returns:
    - gchar*: The information requested.
Warning: "context" attribut of "channels" list should be get with "ListInt"

"ListInt"
  - Parameters:
    - guint: List ID returned by "ListGet".
    - gchar*: Name of the information needed.
  - Returns:
    - guint: The information requested.

"ListTime"
  - Parameters:
    - guint: List ID returned by "ListGet".
    - gchar*: Name of the information needed.
  - Returns:
    - guint64: The information requested.

"ListFields"
  - Parameters:
    - gchar*: The list name.
  - Returns:
    - gchar**: information names in this list.

"ListFree"
  - Parameters:
    - guint: List ID returned by "ListGet".

"EmitPrint"
  - Parameters:
    - gchar*: Text event to print.
    - gchar**: NULL terminated array of string.
  - Returns:
    - gboolean: 1-Success 0-Failure.

"Nickcmp"
  - Parameters:
    - gchar*: String to compare.
    - gchar*: String to compare.
  - Returns:
    - int: An integer less than, equal to, or greater than zero if s1 is found,
           respectively, to be less than, to match, or be greater than s2. 

"Strip"
  - Parameters:
    - gchar*: String to strip.
    - int: Length of the string (or -1 for NULL terminated).
    - int: Bit-field of flags: 0-Strip mIRC colors, 1-Strip text attributes. 
  - Returns:
    - gchar*: striped string.

"SendModes"
  - Parameters:
    - gchar**: NULL terminated array of targets (strings). The names of people
               whom the action will be performed on.
    - int: Maximum modes to send per line.
    - gchar: Mode sign, '-' or '+'.
    - gchar: Mode char, e.g. 'o' for Ops.


Available signals:

"ServerSignal"
  - Parameters:
    - gchar**: word returned by xchat.
    - gchar**: word_eol returned bu xchat.
    - guint: the ID of the hook. (the return value of "HookServer").
    - guint: the ID of the context where the event come from.

"CommandSignal"
  - Parameters:
    - gchar**: word returned by xchat.
    - gchar**: word_eol returned bu xchat.
    - guint: the ID of the hook. (the return value of "HookCommand").
    - guint: the ID of the context where the event come from.

"PrintSignal"
  - Parameters:
    - gchar**: word returned by xchat.
    - guint: the ID of the hook. (the return value of "HookPrint").
    - guint: the ID of the context where the event come from.

"UnloadSignal"
  emited when the user asks to unload your program.
  Please exit(0); when received !