aboutsummaryrefslogblamecommitdiffstats
path: root/src/support.h
blob: f7c08325d4e10234aec1139db7566d825cb84acf (plain) (tree)
1
2
3
4
5
6
7
8
9

                 
 

                   

                 
                                                                 
 

                  
                
                     
                                                    



                                                                           
      

      
#ifndef SUPPORT_H
#define SUPPORT_H

#include "config.h"

#include <glib.h>

const char *strcasestr(const char *haystack, const char *needle);

#ifndef NCMPC_MINI

typedef struct {
	gsize offset;
	GTime t; /* GTime is equivalent to time_t */
} scroll_state_t;

char *strscroll(char *str, char *separator, int width, scroll_state_t *st);

#endif

#endif