Subversion Repositories mdb

Rev

Rev 14 | Blame | Compare with Previous | Last modification | View Log | RSS feed

/*
 * Copyright (C) 2015 by Andreas Theofilu <andreas@theosys.at>
 *
 * All rights reserved. No warranty, explicit or implicit, provided.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Andreas Theofilu and his suppliers, if any.
 * The intellectual and technical concepts contained
 * herein are proprietary to Andreas Theofilu and its suppliers and
 * may be covered by European and Foreign Patents, patents in process,
 * and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Andreas Theofilu.
 */
#ifndef __USER_H__
#define __USER_H__

typedef struct
{
        int id;
        char uname[64];
        char playlist[64];
        void *next;
}USERS;

extern USERS *userchain;
int createUser(int s1, char *user, char *playlist);
int selectUser (int s1, const char *user);
void deleteUser();
void scanUser(int s1, char *user);
USERS *findPlaylist(char *user, char *playlist);

#endif