1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-30 19:42:05 +03:00

s3:smbprofile: Make "status_profile.h" a proper header

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke
2014-10-10 14:18:50 +02:00
committed by Jeremy Allison
parent f82bb9fffd
commit cfb12b11ce
4 changed files with 31 additions and 6 deletions

View File

@ -44,6 +44,7 @@
#include "librpc/gen_ndr/notify.h"
#include "lib/conn_tdb.h"
#include "serverid.h"
#include "status_profile.h"
#define SMB_MAXPIDS 2048
static uid_t Ucrit_uid = 0; /* added by OH */
@ -61,9 +62,6 @@ static bool do_checks = true;
const char *username = NULL;
extern bool status_profile_dump(bool be_verbose);
extern bool status_profile_rates(bool be_verbose);
/* added by OH */
static void Ucrit_addUid(uid_t uid)
{

View File

@ -20,9 +20,7 @@
#include "includes.h"
#include "smbprofile.h"
bool status_profile_dump(bool be_verbose);
bool status_profile_rates(bool be_verbose);
#include "status_profile.h"
static void profile_separator(const char * title)
{

View File

@ -0,0 +1,28 @@
/*
* Samba Unix/Linux SMB client library
* Dump profiles
* Copyright (C) Volker Lendecke 2014
*
* 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 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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, see <http://www.gnu.org/licenses/>.
*/
#ifndef __STATUS_PROFILE_H__
#define __STATUS_PROFILE_H__
#include "replace.h"
bool status_profile_dump(bool be_verbose);
bool status_profile_rates(bool be_verbose);
#endif

View File

@ -19,6 +19,7 @@
#include "includes.h"
#include "smbprofile.h"
#include "status_profile.h"
bool status_profile_dump(bool be_verbose)
{