Logo Search packages:      
Sourcecode: c2man version File versions  Download package

example.h

enum Place
{
    HOME,      /* Home, Sweet Home */
    WORK,      /* where I spend lots of time */
    MOVIES,    /* Saturday nights mainly */
    CITY,      /* New York, New York */
    COUNTRY    /* Bob's Country Bunker */
};

/*
 * do some useful work for a change.
 * This function will actually get some productive
 * work done, if you are really lucky.
 * returns the number of milliseconds in a second.
 */
int dowork(int count,        /* how much work to do */
           enum Place where, /* where to do the work */
           long fiveoclock   /* when to knock off */);

Generated by  Doxygen 1.6.0   Back to index