Commit 1a97deca6b53fbc393e41f3ceaef61c426adf6fd
1 parent
5300b1f2
Exists in
master
and in
3 other branches
Incluindo macros de manipulacao do clipboard
Showing
1 changed file
with
2 additions
and
26 deletions
Show diff stats
macros.c
@@ -49,32 +49,6 @@ | @@ -49,32 +49,6 @@ | ||
49 | char *(*exec)(H3270 *session, int argc, const char **argv); | 49 | char *(*exec)(H3270 *session, int argc, const char **argv); |
50 | }; | 50 | }; |
51 | 51 | ||
52 | -/* | ||
53 | - #define LIB3270_MACRO_ENTRY( name ) { #name, lib3270_macro_ ## name } | ||
54 | - | ||
55 | - static const struct cmd[] = | ||
56 | - { | ||
57 | - LIB3270_MACRO_ENTRY( connect ), | ||
58 | - LIB3270_MACRO_ENTRY( cstate ), | ||
59 | - LIB3270_MACRO_ENTRY( disconnect ), | ||
60 | - LIB3270_MACRO_ENTRY( encoding ), | ||
61 | - LIB3270_MACRO_ENTRY( enter ), | ||
62 | - LIB3270_MACRO_ENTRY( get ), | ||
63 | - LIB3270_MACRO_ENTRY( luname ), | ||
64 | - LIB3270_MACRO_ENTRY( pa ), | ||
65 | - LIB3270_MACRO_ENTRY( pf ), | ||
66 | - LIB3270_MACRO_ENTRY( set ), | ||
67 | - LIB3270_MACRO_ENTRY( status ), | ||
68 | - | ||
69 | - {NULL, NULL} | ||
70 | - }; | ||
71 | - | ||
72 | - LIB3270_EXPORT const LIB3270_MACRO_LIST * get_3270_calls(void) | ||
73 | - { | ||
74 | - return macro_list; | ||
75 | - } | ||
76 | -*/ | ||
77 | - | ||
78 | /*--[ Implement ]------------------------------------------------------------------------------------*/ | 52 | /*--[ Implement ]------------------------------------------------------------------------------------*/ |
79 | 53 | ||
80 | static const char * get_state(H3270 *h) | 54 | static const char * get_state(H3270 *h) |
@@ -356,6 +330,8 @@ | @@ -356,6 +330,8 @@ | ||
356 | int f; | 330 | int f; |
357 | 331 | ||
358 | CHECK_SESSION_HANDLE(session); | 332 | CHECK_SESSION_HANDLE(session); |
333 | + | ||
334 | + trace("macro(%s)",argv[0]); | ||
359 | 335 | ||
360 | // Get the number of arguments | 336 | // Get the number of arguments |
361 | for(argc = 0; argv[argc]; argc++); | 337 | for(argc = 0; argv[argc]; argc++); |