Cross reference for modules/mi/mirror.c of index.

# File modules/mi/mirror.c

      $Revision: 1.1 $

      Mirror module (mi).

      Status: NOT REVUED, NOT TESTED

## Included Files

- `#include <stdio.h>`

- `#include <sys/timeb.h>`

- `#include </space/dbdev/marek/include/glib.h>`
  - `#include </space/dbdev/marek/lib/glib/include/glibconfig.h>`
    - `#include <limits.h>`
    - `#include <float.h>`
  - `#include <stdarg.h>`

- `#include "include/thread.h"`
  - `#include <pthread.h>`

## Preprocessor definitions

String sizes

`#define STR_S 63`

`#define STR_M 255`

`#define STR_L 1023`

`#define STR_XL 4095`

`#define STR_XXL 16383`

`#define SLEEP_TIME 10`

## Global Function MI_init()

      Initialize the mirroring.

      More:

      Authors:
            ottrey

    Online References:

`void MI_init ( void )`

Calls: | printf(), pthread_attr_init(), pthread_attr_setdetachstate(), pthread_create()
Called by: | main() | modules/mi/mirror.c
References Functions: | producer_run() | modules/mi/mirror.c

## Global Function main()

`int main ( void )`

Calls: | MI_init() | modules/mi/mirror.c
| sleep()

## Local Function producer_run()

`static int producer_run ( void )`

Calls: | fclose(), fgets(), fopen(), fscanf(), g_string_free(), g_string_sized_new(), g_string_sprintf(), printf(), pthread_exit(), sleep()
Used in: | MI_init() | modules/mi/mirror.c