Skip to content
Snippets Groups Projects
  1. Nov 29, 2008
  2. Nov 25, 2008
  3. Nov 01, 2008
  4. May 01, 2008
  5. Nov 22, 2007
    • Luigi Rizzo's avatar
      shuffle a little bit the content of header files to reduce dependencies. · 51391e6b
      Luigi Rizzo authored
      In this commit:
      - move the ast_register/unregister_app functions to module.h
        to avoid the need to include pbx.h for the simpler apps;
      - move the ast_group structure to channel.h to remove the
        dependency of app.h on linkedlists.h
      
      Note, this is a long process that I am doing in small steps.
      
      The main difficulty is that now for each subsystem we
      have a single header (e.g. channel.h) included by the subsystem
      provider (usually one file, e.g. channel.c) and by its clients
      (dozens of them, e.g. we have some 70+ apps and 30+ functions).
      
      This requires the clients to include all the extra headers
      required by the provider (eg. lock.h, linkedlists.h, definitions
      of substructures...) even though many of the clients would be
      just happy with opaque struct declarations and function prototypes.
      
      The long term plan is to eventually rectify this structure
      so that the compilation can become faster, and also APIs
      are more stable.
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      51391e6b
    • Luigi Rizzo's avatar
      more removal of redundant headers · ea2c5485
      Luigi Rizzo authored
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89519 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      ea2c5485
  6. Nov 21, 2007
  7. Nov 19, 2007
  8. Nov 16, 2007
    • Luigi Rizzo's avatar
      Start untangling header inclusion in a way that does not affect · fdb7f7ba
      Luigi Rizzo authored
      build times - tested, there is no measureable difference before and
      after this commit.
      
      In this change:
      
      use asterisk/compat.h to include a small set of system headers:
      inttypes.h, unistd.h, stddef.h, stddint.h, sys/types.h, stdarg.h,
      stdlib.h, alloca.h, stdio.h
      
      Where available, the inclusion is conditional on HAVE_FOO_H as determined
      by autoconf.
      
      Normally, source files should not include any of the above system headers,
      and instead use either "asterisk.h" or "asterisk/compat.h" which does it
      better. 
      
      For the time being I have left alone second-level directories
      (main/db1-ast, etc.).
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89333 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      fdb7f7ba
  9. Aug 30, 2007
Loading