aboutsummaryrefslogtreecommitdiff
path: root/src/rc.h
AgeCommit message (Collapse)Author
2007-10-09Tidy upRoy Marples
2007-10-08Move rc_env_filter and rc_env_config out of librc and into rcRoy Marples
2007-10-05Punt rc_waitpidRoy Marples
2007-10-05Punt rc_rm_dirRoy Marples
2007-10-05Punt rc_ls_dirRoy Marples
2007-10-04rc_service_daemon_set now returns boolRoy Marples
2007-10-04rc_service_schedule_clear returns a bool on error nowRoy Marples
2007-10-04inline rc_xmalloc, rc_xrealloc and rc_xstrdup so that the library doesn't ↵Roy Marples
expose them.
2007-10-04LS_DIRS -> LS_DIRRoy Marples
2007-10-04Punt rc_exists from public interface, move to private static inlineRoy Marples
2007-10-04Punt rc_is_dirRoy Marples
2007-10-04punt rc_is_execRoy Marples
2007-10-04punt rc_is_linkRoy Marples
2007-10-04Punt rc_is_fileRoy Marples
2007-10-04document rc_deptree_dependsRoy Marples
2007-10-04Revert making function privateRoy Marples
2007-10-04__rc_service_daemon_set is now a private functionRoy Marples
2007-10-04depinfo and deptype are now internal use only. rc-depend cuddles up to getopt.Roy Marples
2007-10-03rc_make_env -> rc_env_config, rc_filter_env -> rc_env_filterRoy Marples
2007-10-03Rename config funcsRoy Marples
2007-10-03reorg our header a littleRoy Marples
2007-10-03rc_service_option_set -> rc_service_value_set, rc_service_option_get -> ↵Roy Marples
rc_service_value_get
2007-10-03rc_schedule_clear -> rc_service_schedule_clear, rc_schedule_start_service -> ↵Roy Marples
rc_service_schedule_start
2007-10-03reorder header a littleRoy Marples
2007-10-03rc_get_runlevels -> rc_runlevel_listRoy Marples
2007-10-02rc_allow_plug -> rc_service_plugableRoy Marples
2007-10-02rc_set_service_daemon -> rc_service_daemon_setRoy Marples
2007-10-02rc_set_service_option -> rc_service_option_set, rc_get_service_option -> ↵Roy Marples
rc_service_option_get
2007-09-29rc_wait_service -> rc_service_waitRoy Marples
2007-09-29Rationalise more functions into rc_service_Roy Marples
2007-09-29librc no longer uses libeinfo. deptree function names are now all under ↵Roy Marples
rc_deptree_
2007-09-28Crashed is not a baselayout state as suchRoy Marples
2007-09-28rc_service_state now returns the state as a mask, which means that we can do ↵Roy Marples
things with just the one call making is more efficient.
2007-09-28enums are now fixed to specific values and are in UPPER CASE.Roy Marples
2007-09-27The rc_depinfo_t and rc_deptype_t structures are not for public consumption.Roy Marples
2007-09-26rc_is_env is now rc_env_bool and just works with boolean values.Roy Marples
2007-09-25Use boolsRoy Marples
2007-09-25Revert last patchRoy Marples
2007-09-25We no longer use bool in our public headers, using int instead.Roy Marples
2007-09-25Initial doxygen documentation for rc.h and einfo.h. Plus some header clean ups.Roy Marples
2007-09-19Punt rc_xcalloc as nothing uses itRoy Marples
2007-09-18Don't be an ass - don't free the 2nd list. Instead just empty it.Roy Marples
2007-09-18Clarify strlist_join behaviourRoy Marples
2007-09-18Match the recent api change to rc_strlist_join also. We now free the 2nd ↵Roy Marples
list for ease of use.
2007-09-18API change! rc_config_env is renamed to rc_make_env and takes no argument.Roy Marples
2007-09-18API change! rc_ls_dir, rc_get_config and rc_get_list no longer takeRoy Marples
a starting list as a first argument. Instead, use rc_strlist_join to append or prepend the new list to an existing list.
2007-09-18API change! rc_strlist_add and friends now take char *** instead ofRoy Marples
char ** and return a pointer to the item added instead of the new list head. This is so we can easily tell if the item was successfully added or not instead of iterating through the list looking for it. list = rc_strlist_add (list, item); becomes rc_strlist_add (&list, item);
2007-08-15`config /etc/fstab' can now be used in depend() functions to show thatRoy Marples
the deptree should be regenerated if /etc/fstab has changed.
2007-08-09Don't link to rt anymore as it makes dlopen leak - we now use nanosleeps to ↵Roy Marples
achieve the same goal (a loop + timeout). No longer put / at the end of directories, instead prefix like so RC_LIBDIR "/foo" to ensure more robust code.
2007-08-03Wups, these definitions need to be in rc.h reallyRoy Marples