# types

## Name

types --

## Synopsis

    #define     NID_CONTENT
    time_t      lj_timegm                       (struct tm *tm);
    gboolean    lj_ljdate_to_tm                 (const char *ljtime,
                                                 struct tm *ptm);
    char*       lj_tm_to_ljdate                 (struct tm *ptm);
    char*       lj_tm_to_ljdate_noseconds       (struct tm *ptm);
    guint32     lj_color_to_int                 (const char *color);
    void        lj_int_to_color                 (guint32 l,
                                                 char *color);
    typedef     LJChallenge;
    #define     lj_challenge_new                (s)
    #define     lj_challenge_free               (x)

## Description

## Details

### NID_CONTENT

    #define NID_CONTENT int id; char *name; /* yay for no inheritance in C. */

### lj_timegm ()

    time_t      lj_timegm                       (struct tm *tm);

tm : |
Returns : |

### lj_ljdate_to_tm ()

    gboolean    lj_ljdate_to_tm                 (const char *ljtime,
                                                 struct tm *ptm);

ljtime : |
ptm : |
Returns : |

### lj_tm_to_ljdate ()

    char*       lj_tm_to_ljdate                 (struct tm *ptm);

ptm : |
Returns : |

### lj_tm_to_ljdate_noseconds ()

    char*       lj_tm_to_ljdate_noseconds       (struct tm *ptm);

ptm : |
Returns : |

### lj_color_to_int ()

    guint32     lj_color_to_int                 (const char *color);

color : |
Returns : |

### lj_int_to_color ()

    void        lj_int_to_color                 (guint32 l,
                                                 char *color);

l : |
color : |

### LJChallenge

    typedef char* LJChallenge;

### lj_challenge_new()

    #define lj_challenge_new(s) g_strdup(s)

s : |

### lj_challenge_free()

    #define lj_challenge_free(x) g_free(x)

x : |