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

mpd_pure unsigned long mpd_stats_get_uptime ( const struct mpd_stats stats  ) 

Returns:
the uptime of MPD in seconds, or 0 if unknown

Definition at line 117 of file stats.c.

References mpd_stats_get_uptime(), and mpd_stats::uptime.

Referenced by mpd_stats_get_uptime().

{
      assert(stats != NULL);

      return stats->uptime;
}


Generated by  Doxygen 1.6.0   Back to index