Subversion Repositories mdb

Rev

Rev 9 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
7 andreas 1
/*
2
 * Copyright (C) 2015 by Andreas Theofilu <andreas@theosys.at>
3
 *
4
 * All rights reserved. No warranty, explicit or implicit, provided.
5
 *
6
 * NOTICE:  All information contained herein is, and remains
7
 * the property of Andreas Theofilu and his suppliers, if any.
8
 * The intellectual and technical concepts contained
9
 * herein are proprietary to Andreas Theofilu and its suppliers and
10
 * may be covered by European and Foreign Patents, patents in process,
11
 * and are protected by trade secret or copyright law.
12
 * Dissemination of this information or reproduction of this material
13
 * is strictly forbidden unless prior written permission is obtained
14
 * from Andreas Theofilu.
15
 */
16
#ifndef __USER_H__
17
#define __USER_H__
18
 
8 andreas 19
typedef struct
7 andreas 20
{
21
	int id;
22
	char uname[64];
23
	char playlist[64];
8 andreas 24
	void *next;
25
}USERS;
7 andreas 26
 
8 andreas 27
extern USERS *userchain;
7 andreas 28
int createUser(int s1, char *user, char *playlist);
9 andreas 29
int selectUser (int s1, const char *user);
8 andreas 30
void deleteUser();
14 andreas 31
USERS *findPlaylist(char *user, char *playlist);
7 andreas 32
 
33
#endif