Magellan Linux

Log of /mcore-src/trunk/mcore-tools/src/include

View Directory Listing Directory Listing


Sticky Revision:

Revision 2637 - Directory Listing
Modified Tue Sep 29 11:59:31 2015 UTC (8 years, 7 months ago) by niro
-disabled echo stderr atm for eecho

Revision 2633 - Directory Listing
Modified Tue Sep 29 10:37:48 2015 UTC (8 years, 7 months ago) by niro
-add more debug messages

Revision 2632 - Directory Listing
Modified Tue Sep 29 10:36:33 2015 UTC (8 years, 7 months ago) by niro
-honor all flavors of xorg-server

Revision 2631 - Directory Listing
Modified Tue Sep 29 10:34:58 2015 UTC (8 years, 7 months ago) by niro
-eecho(): print output to stderr

Revision 2563 - Directory Listing
Modified Thu Sep 17 08:52:18 2015 UTC (8 years, 8 months ago) by niro
-fixed broken argument evalution: do not remove serial from every place in the argument string. use argv evalution and remove argv[0]. serial='4' command='set graphic.resolution 1024x768' resulted in a broken 'set graphic.resolution 102x786'

Revision 2558 - Directory Listing
Modified Thu Sep 17 07:39:31 2015 UTC (8 years, 8 months ago) by niro
-run_push_config(): no colors in variable evaluation

Revision 2557 - Directory Listing
Modified Thu Sep 17 07:38:54 2015 UTC (8 years, 8 months ago) by niro
-run_push_config(): be more verbose in debug mode

Revision 2556 - Directory Listing
Modified Thu Sep 17 07:37:19 2015 UTC (8 years, 8 months ago) by niro
-run_push_config(): serial var is an requirement

Revision 2555 - Directory Listing
Modified Thu Sep 17 07:27:10 2015 UTC (8 years, 8 months ago) by niro
-fixed a typo

Revision 2553 - Directory Listing
Modified Thu Sep 17 07:22:58 2015 UTC (8 years, 8 months ago) by niro
-added push_config functions

Revision 2528 - Directory Listing
Modified Tue Sep 15 07:22:37 2015 UTC (8 years, 8 months ago) by niro
-use debug echo function decho()

Revision 2507 - Directory Listing
Modified Fri Sep 11 09:56:34 2015 UTC (8 years, 8 months ago) by niro
-fixed a typo os->tools

Revision 2506 - Directory Listing
Modified Fri Sep 11 09:53:49 2015 UTC (8 years, 8 months ago) by niro
-import client version information on register

Revision 2499 - Directory Listing
Modified Fri Sep 11 07:36:40 2015 UTC (8 years, 8 months ago) by niro
-renamed set_hardware_detect() to run_hardware_detect() and provide a new set class to run the hardware detection to fix run_clasS() evaluation issues

Revision 2497 - Directory Listing
Modified Thu Sep 10 14:08:40 2015 UTC (8 years, 8 months ago) by niro
-run hardware detection on register_client if hardware was provided and not already run

Revision 2494 - Directory Listing
Modified Thu Sep 10 13:45:02 2015 UTC (8 years, 8 months ago) by niro
-mysql_insert(): use decho() for debug messages

Revision 2492 - Directory Listing
Modified Thu Sep 10 13:40:12 2015 UTC (8 years, 8 months ago) by niro
-control_client(): fixed whitespace evaluation

Revision 2489 - Directory Listing
Modified Thu Sep 10 13:21:56 2015 UTC (8 years, 8 months ago) by niro
-control_client(): respect run-queue cmd

Revision 2486 - Directory Listing
Modified Thu Sep 10 13:03:45 2015 UTC (8 years, 8 months ago) by niro
-provide mysql and sql

Revision 2485 - Directory Listing
Modified Thu Sep 10 12:29:57 2015 UTC (8 years, 8 months ago) by niro
-added nsslsay_queue_*() functions

Revision 2483 - Directory Listing
Modified Thu Sep 10 10:55:29 2015 UTC (8 years, 8 months ago) by niro
-use MCORE_ prefixed sql variables from control.con

Revision 2481 - Directory Listing
Modified Thu Sep 10 10:49:15 2015 UTC (8 years, 8 months ago) by niro
-use lower case names for all local function variables, fixed header and whitespaces

Revision 2480 - Directory Listing
Modified Thu Sep 10 10:41:11 2015 UTC (8 years, 8 months ago) by niro
-respect SILENT env var for internal daemon communication

Revision 2479 - Directory Listing
Modified Thu Sep 10 08:48:45 2015 UTC (8 years, 8 months ago) by niro
-use 0/1 for bool values instead of mixed 0/1 and true/false settings

Revision 2476 - Directory Listing
Modified Thu Sep 10 08:04:33 2015 UTC (8 years, 8 months ago) by niro
-mtime should be always the actual timestamp

Revision 2472 - Directory Listing
Modified Tue Sep 8 08:35:57 2015 UTC (8 years, 8 months ago) by niro
-hardcore sslsay port

Revision 2471 - Directory Listing
Modified Tue Sep 8 08:32:50 2015 UTC (8 years, 8 months ago) by niro
-generate control.global.class

Revision 2468 - Directory Listing
Modified Tue Sep 8 08:25:33 2015 UTC (8 years, 8 months ago) by niro
-use the right SSLSAY_IP globals

Revision 2467 - Directory Listing
Modified Tue Sep 8 08:24:50 2015 UTC (8 years, 8 months ago) by niro
-use nsslsay_fingerprint for internal communication

Revision 2466 - Directory Listing
Modified Tue Sep 8 08:24:07 2015 UTC (8 years, 8 months ago) by niro
-moved control_client() to control.global.class

Revision 2465 - Directory Listing
Modified Tue Sep 8 08:23:28 2015 UTC (8 years, 8 months ago) by niro
-moved import_resource() to control.global.class

Revision 2461 - Directory Listing
Modified Mon Sep 7 08:48:22 2015 UTC (8 years, 8 months ago) by niro
-always create the MCORE_CONFIG_PATH

Revision 2457 - Directory Listing
Modified Thu Sep 3 14:42:38 2015 UTC (8 years, 8 months ago) by niro
-register the client as online too

Revision 2447 - Directory Listing
Modified Thu Sep 3 13:47:44 2015 UTC (8 years, 8 months ago) by niro
-use oneline nsslsay cmds

Revision 2445 - Directory Listing
Modified Thu Sep 3 13:36:12 2015 UTC (8 years, 8 months ago) by niro
-print ip_address in debug mode and use the right ip variable

Revision 2443 - Directory Listing
Modified Thu Sep 3 13:30:46 2015 UTC (8 years, 8 months ago) by niro
-do not escape multiple line cmds for nsslsay

Revision 2442 - Directory Listing
Modified Thu Sep 3 13:28:24 2015 UTC (8 years, 8 months ago) by niro
-added register_client_local() function to inform the client about the serial

Revision 2441 - Directory Listing
Modified Thu Sep 3 13:01:47 2015 UTC (8 years, 8 months ago) by niro
-echo retvals propably

Revision 2439 - Directory Listing
Modified Thu Sep 3 12:54:15 2015 UTC (8 years, 8 months ago) by niro
-use decho() for debug messages

Revision 2436 - Directory Listing
Modified Thu Sep 3 12:36:22 2015 UTC (8 years, 8 months ago) by niro
-generate register.global.class

Revision 2435 - Directory Listing
Modified Thu Sep 3 12:35:41 2015 UTC (8 years, 8 months ago) by niro
-fixed header

Revision 2433 - Directory Listing
Modified Thu Sep 3 12:29:41 2015 UTC (8 years, 8 months ago) by niro
-fixed retvals and use nsslsay_fingerprint to send the registration

Revision 2431 - Directory Listing
Modified Thu Sep 3 12:15:13 2015 UTC (8 years, 8 months ago) by niro
-resolv mtime and fix broken variables

Revision 2430 - Directory Listing
Modified Thu Sep 3 12:10:16 2015 UTC (8 years, 8 months ago) by niro
-added initial client registration class

Revision 2429 - Directory Listing
Modified Thu Sep 3 12:09:58 2015 UTC (8 years, 8 months ago) by niro
-added initial nsslsay() and nsslsay_fingerprint() functions

Revision 2428 - Directory Listing
Modified Thu Sep 3 08:15:59 2015 UTC (8 years, 8 months ago) by niro
-added cert_fingerprint() and key_fingerprint() functions for global certificate handling

Revision 2427 - Directory Listing
Modified Thu Sep 3 08:02:10 2015 UTC (8 years, 8 months ago) by niro
-fixed a typo

Revision 2426 - Directory Listing
Modified Thu Sep 3 07:54:18 2015 UTC (8 years, 8 months ago) by niro
-inform the user about the fingerprint authentication method too

Revision 2425 - Directory Listing
Modified Thu Sep 3 07:53:30 2015 UTC (8 years, 8 months ago) by niro
-use the certificate fingerprint, not the certificate itsel for authentication to fix parsing issues

Revision 2423 - Directory Listing
Modified Thu Sep 3 07:29:19 2015 UTC (8 years, 8 months ago) by niro
-added certifacte auth method

Revision 2420 - Directory Listing
Modified Tue Sep 1 08:36:09 2015 UTC (8 years, 8 months ago) by niro
-added more network functions: iface_for_ip(), iface_for_mac(), mac_for_iface()

Revision 2407 - Directory Listing
Modified Mon Aug 31 09:02:48 2015 UTC (8 years, 8 months ago) by niro
-added global network functions iface_for_remote_addr() and dns_to_ip()

Revision 2351 - Directory Listing
Modified Mon Aug 24 10:27:46 2015 UTC (8 years, 9 months ago) by niro
-fixed Xorg handling and revert escape hacks

Revision 2349 - Directory Listing
Modified Mon Aug 24 10:12:37 2015 UTC (8 years, 9 months ago) by niro
-x11runas(): escape $@ to honor environments variables

Revision 2348 - Directory Listing
Modified Mon Aug 24 10:11:56 2015 UTC (8 years, 9 months ago) by niro
-revert changes

Revision 2347 - Directory Listing
Modified Mon Aug 24 10:10:27 2015 UTC (8 years, 9 months ago) by niro
-x11runas(): escape $@ to honor environments variables

Revision 2344 - Directory Listing
Modified Mon Jul 14 12:19:30 2014 UTC (9 years, 10 months ago) by niro
-fixed a typo - reval -> retval

Revision 2318 - Directory Listing
Modified Thu Jul 3 11:17:03 2014 UTC (9 years, 10 months ago) by niro
-added is_provided() function

Revision 2303 - Directory Listing
Modified Mon Jan 20 14:04:52 2014 UTC (10 years, 4 months ago) by niro
-renamed load_client_classes() to load_classes() and make it variable to either load client or control classes

Revision 2302 - Directory Listing
Modified Mon Jan 20 14:02:27 2014 UTC (10 years, 4 months ago) by niro
-call sigterm to terminate sslsvd. this supresses some error messages

Revision 2271 - Directory Listing
Modified Tue Jan 14 10:50:06 2014 UTC (10 years, 4 months ago) by niro
-fixed broken variables

Revision 2269 - Directory Listing
Modified Tue Jan 14 10:34:57 2014 UTC (10 years, 4 months ago) by niro
-use global argv arrays GLOBAL_ARGV and CLASS_ARGV to fix whitespace issues with the read cmd. escaping works with this now. every class must use the CLASS_ARGV array for arguments

Revision 2258 - Directory Listing
Modified Mon Jan 13 14:25:18 2014 UTC (10 years, 4 months ago) by niro
-make use of the new include() function

Revision 2257 - Directory Listing
Modified Mon Jan 13 14:24:41 2014 UTC (10 years, 4 months ago) by niro
-added include() function which sources files with debug information

Revision 2243 - Directory Listing
Modified Mon Jan 13 09:27:41 2014 UTC (10 years, 4 months ago) by niro
-fixed spelling - unkown -> unknown

Revision 2236 - Directory Listing
Modified Sat Jan 11 00:15:52 2014 UTC (10 years, 4 months ago) by niro
-use variable pathes

Revision 2235 - Directory Listing
Modified Sat Jan 11 00:14:31 2014 UTC (10 years, 4 months ago) by niro
-use variable pathes

Revision 2234 - Directory Listing
Modified Sat Jan 11 00:03:05 2014 UTC (10 years, 4 months ago) by niro
-added Makefile

Revision 2231 - Directory Listing
Modified Fri Jan 10 23:54:30 2014 UTC (10 years, 4 months ago) by niro
-renamed sessionauth.global.class -> sessionauth.global.class.in

Revision 2230 - Directory Listing
Modified Fri Jan 10 23:53:29 2014 UTC (10 years, 4 months ago) by niro
-renamed mysqlfunctions.global.class -> mysqlfunctions.global.class.in

Revision 2229 - Directory Listing
Modified Fri Jan 10 23:52:21 2014 UTC (10 years, 4 months ago) by niro
-renamed hwdetection.global.class -> hwdetection.global.class.in

Revision 2228 - Directory Listing
Modified Fri Jan 10 23:51:35 2014 UTC (10 years, 4 months ago) by niro
-renamed daemon.global.class -> daemon.global.class.in

Revision 2227 - Directory Listing
Modified Fri Jan 10 23:50:18 2014 UTC (10 years, 4 months ago) by niro
-renamed common.global.class -> common.global.class.in

Revision 2207 - Directory Listing
Modified Fri Jan 10 14:57:04 2014 UTC (10 years, 4 months ago) by niro
Copied from: mcore-src/trunk/mcore-tools/daemon/include revision 2206
-moved daemon/include to src/include

Revision 2140 - Directory Listing
Modified Fri Jan 10 12:02:07 2014 UTC (10 years, 4 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-daemon.global.class: split some common, non daemon relvant, commands into an extra common.globcal.class

Revision 2139 - Directory Listing
Modified Fri Jan 10 10:23:50 2014 UTC (10 years, 4 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-renamed variable MCLIBDIR -> MCORE_LIBDIR

Revision 2115 - Directory Listing
Modified Thu Jan 2 16:28:46 2014 UTC (10 years, 4 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-fixed printing of whitespaces

Revision 2093 - Directory Listing
Modified Tue May 21 09:09:51 2013 UTC (11 years ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-add mysql basic functions

Revision 2091 - Directory Listing
Modified Mon May 13 07:06:33 2013 UTC (11 years ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
list_files_in_directory(): fixed typos

Revision 2083 - Directory Listing
Modified Fri May 10 13:14:35 2013 UTC (11 years ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-added system_chroot() function

Revision 2077 - Directory Listing
Modified Fri May 10 10:46:47 2013 UTC (11 years ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-list_all_files_in_directory(): improved find and drop basename requirement

Revision 2073 - Directory Listing
Modified Fri May 10 09:09:36 2013 UTC (11 years ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-list_files_in_directories(): support -name argument

Revision 2052 - Directory Listing
Modified Wed May 8 11:20:11 2013 UTC (11 years ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-added print_version() function and print proper version info on connect

Revision 2044 - Directory Listing
Modified Wed May 8 11:04:43 2013 UTC (11 years ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-support version cmd

Revision 2030 - Directory Listing
Modified Mon Aug 13 11:42:52 2012 UTC (11 years, 9 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-use find to fix some annoying error messages and fixed variable declaration

Revision 2008 - Directory Listing
Modified Mon Aug 13 09:43:26 2012 UTC (11 years, 9 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-added list_files_in_directory() function

Revision 2007 - Directory Listing
Modified Mon Aug 13 09:42:10 2012 UTC (11 years, 9 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-added mroot applet

Revision 2006 - Directory Listing
Modified Mon Aug 13 09:40:07 2012 UTC (11 years, 9 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-added colors command, to re-enable colors after calling 'nocolors' cmd

Revision 2005 - Directory Listing
Modified Mon Aug 13 09:38:21 2012 UTC (11 years, 9 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-added stop_service() function

Revision 2003 - Directory Listing
Modified Mon Aug 13 09:32:23 2012 UTC (11 years, 9 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-fixed whitespaces

Revision 1925 - Directory Listing
Modified Wed Nov 9 15:17:49 2011 UTC (12 years, 6 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-added new gobal cmds 'reload' and 'restart' to help

Revision 1915 - Directory Listing
Modified Wed Nov 9 13:24:00 2011 UTC (12 years, 6 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-added functions to load client classes and to restart the service

Revision 1666 - Directory Listing
Modified Fri Mar 11 19:38:10 2011 UTC (13 years, 2 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-do not dirty the output of x11runas() with x11 pid ids

Revision 1640 - Directory Listing
Modified Thu Mar 10 18:10:08 2011 UTC (13 years, 2 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-removed commented stuff
-make use of error echo function eecho()
-use mecho() for informal-only echos
-use rvecho() for function retvals

Revision 1639 - Directory Listing
Modified Thu Mar 10 18:08:47 2011 UTC (13 years, 2 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-x11runas(): let the function check for X11
-added decho() "debug-echo" function for debugging only messages
-added rvecho() "retval echo" function to print retvals on quiet mode
-support quiet mode in mecho()
-make use of error echo function eecho()
-make use of debug echo function decho()
-make use of retval echo function rvecho()
-fixed a typo in path_not_empty() function

Revision 1350 - Directory Listing
Modified Thu Feb 17 21:42:57 2011 UTC (13 years, 3 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-fixed whitespaces

Revision 1335 - Directory Listing
Modified Thu Feb 17 20:18:09 2011 UTC (13 years, 3 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
added get_hwinfo_monitor() and add usb-host drivers when usb-storage was found

Revision 1330 - Directory Listing
Modified Wed Feb 16 18:24:35 2011 UTC (13 years, 3 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-fixed a typo in global help description

Revision 1308 - Directory Listing
Modified Sun Feb 6 23:48:20 2011 UTC (13 years, 3 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-renamed validate_session() to valid_session()
-added nocolors and webcrlf options which are allowed to be called before login (needed by web-interfaces)
-let addconfig() honor -e and -n echo variables

Revision 1307 - Directory Listing
Modified Sun Feb 6 23:47:09 2011 UTC (13 years, 3 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
updated hwdetection from upstream installer

Revision 1306 - Directory Listing
Modified Sun Feb 6 23:46:42 2011 UTC (13 years, 3 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-renamed validate_session() to valid_session()

Revision 1265 - Directory Listing
Modified Fri Feb 4 20:13:51 2011 UTC (13 years, 3 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-the hwdetecion provides hwdetection ;)



Revision 1264 - Directory Listing
Modified Fri Feb 4 20:13:23 2011 UTC (13 years, 3 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
- added missing quit command to global help topics
- added hint about help [topic]
- let x11runas determine the DISPLAY itself by using MCORE_XORG_DISPLAY
- added no_duplicate() function for internal use
- let require() and provide() check for duplicate items via no_duplicate()
- added verify_requirements to be able to resolve missing plugin requirements
- mecho() and eecho() should honor the '-n' echo option
- added path_not_empty() functions which is used by helper_graphic_rebuild_xorg_conf_d() of the graphic plugin



Revision 1252 - Directory Listing
Modified Wed Feb 2 21:17:54 2011 UTC (13 years, 3 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-disabled mysql based functions atm
-clearconfig: install config dir

Revision 1248 - Directory Listing
Added Wed Feb 2 20:20:24 2011 UTC (13 years, 3 months ago) by niro
Original Path: mcore-src/trunk/mcore-tools/daemon/include
-initial version