]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - filter.h
sched: Provide alternative post_select variant.
[paraslash.git] / filter.h
index 7568adcf9e97994866ac3f562096722efeb17294..f737645262b70af326aaf31de631532b9ca6ad64 100644 (file)
--- a/filter.h
+++ b/filter.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005-2012 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2013 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -110,6 +110,8 @@ struct filter {
         * error code.
         */
        void (*post_select)(struct sched *s, struct task *t);
+       /** New variant, see sched.h. */
+       int (*new_post_select)(struct sched *s, struct task *t);
        /**
         * Answer a buffer tree query.
         *