Advertisement
Looz_Dreemur

staffMod.h

Nov 15th, 2019
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.62 KB | None | 0 0
  1. #include "stdcxx.h"
  2. #pragma once
  3. #ifndef STAFFMOD_H
  4. #define STAFFMOD_H
  5.  
  6. typedef struct
  7. {
  8.     char staffID[10];
  9.     char staffName[300];
  10.     char staffPW[100];
  11.     char staffPWR[100]; // password recovery
  12.     char staffPos[150];
  13.     Date dateJoined;
  14. } Staff;
  15.  
  16. // Main Functions
  17. void staffMain();
  18. void staffMenu();
  19. void staffSearchID();
  20. void staffRegister();
  21. void staffSearchName();
  22. int staffModify(char *cacheFileName);
  23. void staffRemove(char *cacheFileName);
  24. void staffDisplay();
  25.  
  26. // Util Functions
  27. void sp();
  28. void incrementStaffID(char *oldStaffID);
  29.  
  30. // Variables to be reserved/used
  31. char staffFileName[1024];
  32.  
  33. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement