You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
502 B

#ifndef ADMIN_H_INCLUDED
#define ADMIN_H_INCLUDED
#include "BOOKUI.h"
#include "user.h"
#include "BOOKS.h"
#include "login.h"
FILE *FP_ADMIN;
struct admins{
char id[20],pass[20];
char book1[20],book2[20],book3[20];
int booknum;
};
typedef struct admins ADMINS;
ADMINS ADMIN;
void admin_BOOK_menu(int choice);
void admin_BOOK_choice();
void admin_BOOK_info();
void admin_save();
void change_admin_password();
void change_user_all();
void admin_menu_info();
#endif // ADMIN_H_INCLUDED