/[baselayout]/trunk/src/librc-daemon.c
Gentoo

Diff of /trunk/src/librc-daemon.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2964 Revision 2966
281 free (ffile); 281 free (ffile);
282 282
283 return (m == 111 ? true : false); 283 return (m == 111 ? true : false);
284} 284}
285 285
286void rc_set_service_daemon (const char *service, const char *exec, 286void rc_service_daemon_set (const char *service, const char *exec,
287 const char *name, const char *pidfile, 287 const char *name, const char *pidfile,
288 bool started) 288 bool started)
289{ 289{
290 char *svc = rc_xstrdup (service); 290 char *svc = rc_xstrdup (service);
291 char *dirpath = rc_strcatpaths (RC_SVCDIR, "daemons", basename (svc), 291 char *dirpath = rc_strcatpaths (RC_SVCDIR, "daemons", basename (svc),
366 free (mexec); 366 free (mexec);
367 free (mname); 367 free (mname);
368 free (mpidfile); 368 free (mpidfile);
369 free (dirpath); 369 free (dirpath);
370} 370}
371librc_hidden_def(rc_set_service_daemon) 371librc_hidden_def(rc_service_daemon_set)
372 372
373bool rc_service_started_daemon (const char *service, const char *exec, 373bool rc_service_started_daemon (const char *service, const char *exec,
374 int indx) 374 int indx)
375{ 375{
376 char *dirpath; 376 char *dirpath;

Legend:
Removed from v.2964  
changed lines
  Added in v.2966

  ViewVC Help
Powered by ViewVC 1.1.20