winbindd: Do not use group_list->out.resume_index after free
[samba.git] / source4 / winbind / wb_async_helpers.h
index 2754a8acd6fbd9759e34c71f1fa32759ee938a23..359696da672ffeed706a9a2611c6975a8de1436a 100644 (file)
@@ -7,7 +7,7 @@
    
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
    
    This program is distributed in the hope that it will be useful,
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
+#ifndef __WB_ASYNC_HELPERS_H__
+#define __WB_ASYNC_HELPERS_H__
+
+struct dcerpc_pipe;
+struct dcerpc_binding_handle;
+
 #include "librpc/gen_ndr/lsa.h"
 
 struct wb_sid_object {
@@ -29,3 +34,4 @@ struct wb_sid_object {
        const char *name;
 };
 
+#endif /* __WB_ASYNC_HELPERS_H__ */