SCTC
the soundcloud.com terminal client
Macros | Functions
main.c File Reference
#include "_hard_config.h"
#include <ncurses.h>
#include "cache.h"
#include "command.h"
#include "config.h"
#include "helper.h"
#include "jspf.h"
#include "log.h"
#include "network/tls.h"
#include "sound.h"
#include "soundcloud.h"
#include "state.h"
#include "track.h"
#include "tui.h"
Include dependency graph for main.c:

Macros

#define _GNU_SOURCE
 
#define TIME_BUFFER_SIZE   64
 

Functions

static void tui_update_time (int time)
 Update the current playback time. More...
 
static void list_href_to_list (struct track_list *list, struct track_list *target)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

#define _GNU_SOURCE
#define TIME_BUFFER_SIZE   64

Function Documentation

static void list_href_to_list ( struct track_list list,
struct track_list target 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

int main ( int  argc,
char **  argv 
)

Here is the call graph for this function:

static void tui_update_time ( int  time)
static

Update the current playback time.

If time equals -1, then the next track is selected (if any) and playback initiated. (

Todo:
not yet working!)
Parameters
timeThe time in seconds to print to the screen

Here is the call graph for this function:

Here is the caller graph for this function: