1. 28 Aug, 2008 7 commits
    • Max Kellermann's avatar
      client: renamed Interface to struct client · fe03cb95
      Max Kellermann authored
      Second patch: rename the internal struct name.  We will eventually
      export this type as an opaque forward-declared struct later, so we
      can pass a struct pointer instead of a file descriptor, which would
      save us an expensive linear lookup.
      fe03cb95
    • Max Kellermann's avatar
      renamed interface.c to client.c · deb29e08
      Max Kellermann authored
      I don't believe "interface" is a good name for something like
      "connection by a client to MPD", let's call it "client".  This is the
      first patch in the series which changes the name, beginning with the
      file name.
      deb29e08
    • Max Kellermann's avatar
      imported list.h from the Linux kernel sources · 9340e291
      Max Kellermann authored
      linux/list.h is a nice doubly linked list library - it is lightweight
      and powerful at the same time.  It will be useful later, when we begin
      to allocate client structures dynamically.  Import it, and strip out
      all the stuff which we are not going to use.
      9340e291
    • Max Kellermann's avatar
      const pointers · bc1c8835
      Max Kellermann authored
      The usual bunch of pointer arguments which should be const.
      bc1c8835
    • Max Kellermann's avatar
      unsigned integers and size_t · 801c71ed
      Max Kellermann authored
      Use "unsigned int" whenever negative values are not meaningful.  Use
      size_t whenever we are going to describe buffer sizes.
      801c71ed
    • Max Kellermann's avatar
      include cleanup · 1560a70b
      Max Kellermann authored
      Only include headers which are really needed.
      1560a70b
    • Max Kellermann's avatar
      protect locate.h from double inclusion · b7861868
      Max Kellermann authored
      b7861868
  2. 26 Aug, 2008 33 commits