Changed my typedef name to proper camel case
modified: src/main.c modified: src/nms.c modified: src/nms.h modified: src/sneakers.c
This commit is contained in:
parent
9959d6f98f
commit
227b5a7344
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
int main(void) {
|
int main(void) {
|
||||||
char *input;
|
char *input;
|
||||||
NMSArgs args = INIT_NMSARGS;
|
NmsArgs args = INIT_NMSARGS;
|
||||||
|
|
||||||
// Geting input
|
// Geting input
|
||||||
int c, inSize = 0;
|
int c, inSize = 0;
|
||||||
|
@ -54,7 +54,7 @@ char getMaskChar(void);
|
|||||||
* displaying a menu.
|
* displaying a menu.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
char nmsexec(NMSArgs *args) {
|
char nmsexec(NmsArgs *args) {
|
||||||
struct winpos *list_pointer = NULL;
|
struct winpos *list_pointer = NULL;
|
||||||
struct winpos *start; // Always points to start of list
|
struct winpos *start; // Always points to start of list
|
||||||
struct winpos *temp; // Used for free()ing the list
|
struct winpos *temp; // Used for free()ing the list
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
typedef struct {
|
typedef struct {
|
||||||
char *src;
|
char *src;
|
||||||
char *return_opts;
|
char *return_opts;
|
||||||
} NMSArgs;
|
} NmsArgs;
|
||||||
|
|
||||||
// Function prototypes
|
// Function prototypes
|
||||||
|
|
||||||
// Display the characters stored in the display queue
|
// Display the characters stored in the display queue
|
||||||
char nmsexec(NMSArgs *);
|
char nmsexec(NmsArgs *);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -22,7 +22,7 @@ int main(void) {
|
|||||||
char *menu6 = "[6] Remote Operator Logon/Logoff";
|
char *menu6 = "[6] Remote Operator Logon/Logoff";
|
||||||
char *foot1Center = "================================================================";
|
char *foot1Center = "================================================================";
|
||||||
char *foot2Center = "[ ] Select Option or ESC to Abort";
|
char *foot2Center = "[ ] Select Option or ESC to Abort";
|
||||||
NMSArgs args = INIT_NMSARGS;
|
NmsArgs args = INIT_NMSARGS;
|
||||||
|
|
||||||
// Get terminal dimentions (needed for centering)
|
// Get terminal dimentions (needed for centering)
|
||||||
struct winsize w;
|
struct winsize w;
|
||||||
|
Loading…
Reference in New Issue
Block a user