Commit 51082be88feecb974380d27d3c8a3694fa3c5687
1 parent
2325ce9b
Exists in
master
and in
3 other branches
Commenting deprecated code.
Showing
3 changed files
with
14 additions
and
9 deletions
Show diff stats
src/include/lib3270/html.h
src/lib3270/html.c
| ... | ... | @@ -25,6 +25,8 @@ |
| 25 | 25 | * perry.werneck@gmail.com (Alexandre Perry de Souza Werneck) |
| 26 | 26 | * |
| 27 | 27 | */ |
| 28 | + | |
| 29 | +/* | |
| 28 | 30 | #ifdef WIN32 |
| 29 | 31 | #include <winsock2.h> |
| 30 | 32 | #include <windows.h> |
| ... | ... | @@ -46,7 +48,7 @@ |
| 46 | 48 | const char * xlat; |
| 47 | 49 | }; |
| 48 | 50 | |
| 49 | -/*--[ Defines ]--------------------------------------------------------------------------------------*/ | |
| 51 | +//--[ Defines ]-------------------------------------------------------------------------------------- | |
| 50 | 52 | |
| 51 | 53 | enum html_element |
| 52 | 54 | { |
| ... | ... | @@ -107,10 +109,10 @@ |
| 107 | 109 | |
| 108 | 110 | enum HTML_MODE |
| 109 | 111 | { |
| 110 | - HTML_MODE_TEXT, /**< Non editable */ | |
| 111 | - HTML_MODE_INPUT_TEXT, /**< Text input */ | |
| 112 | - HTML_MODE_INPUT_PASSWORD, /**< Password input */ | |
| 113 | - HTML_MODE_INPUT_BUTTON, /**< Button input (PFkey) */ | |
| 112 | + HTML_MODE_TEXT, ///< Non editable | |
| 113 | + HTML_MODE_INPUT_TEXT, ///< Text input | |
| 114 | + HTML_MODE_INPUT_PASSWORD, ///< Password input | |
| 115 | + HTML_MODE_INPUT_BUTTON, ///< Button input (PFkey) | |
| 114 | 116 | } mode; |
| 115 | 117 | |
| 116 | 118 | char * text; |
| ... | ... | @@ -120,7 +122,7 @@ |
| 120 | 122 | unsigned short bg; |
| 121 | 123 | }; |
| 122 | 124 | |
| 123 | - /*--[ Implement ]------------------------------------------------------------------------------------*/ | |
| 125 | + //--[ Implement ]------------------------------------------------------------------------------------ | |
| 124 | 126 | |
| 125 | 127 | static void append_string(struct html_info *info, const char *text) |
| 126 | 128 | { |
| ... | ... | @@ -424,4 +426,4 @@ |
| 424 | 426 | return info.text; |
| 425 | 427 | } |
| 426 | 428 | |
| 427 | - | |
| 429 | +*/ | ... | ... |
src/lib3270/testprogram/testprogram.c
| ... | ... | @@ -64,7 +64,7 @@ int main(int argc, char *argv[]) |
| 64 | 64 | |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | - printf("HOST URL: %s\HOST CRL: %s\n",lib3270_get_url(h),lib3270_get_crl_url(h)); | |
| 67 | + printf("HOST URL: %s\tHOST CRL: %s\n",lib3270_get_url(h),lib3270_get_crl_url(h)); | |
| 68 | 68 | |
| 69 | 69 | if(lib3270_set_url(h,NULL)) |
| 70 | 70 | lib3270_set_url(h,"tn3270://fandezhi.efglobe.com"); | ... | ... |